summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-04 12:44:22 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-01-07 12:29:04 +0000
commit597e694e7e3264cf5d42b177bec38585ccb21232 (patch)
treedd4082a99cb600f9e0cf09dfaeee1174f26f46d7 /compilerplugins
parent5e0d36adc3f7f245edfc79230d0871017ba15d5d (diff)
Fix typos
Change-Id: I90b04b8eda6fc3d530c9db72052720cbe9de0343 Reviewed-on: https://gerrit.libreoffice.org/21197 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/cstylecast.cxx2
-rw-r--r--compilerplugins/clang/mergeclasses.cxx2
-rw-r--r--compilerplugins/clang/refcounting.cxx2
-rw-r--r--compilerplugins/clang/staticmethods.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/compilerplugins/clang/cstylecast.cxx b/compilerplugins/clang/cstylecast.cxx
index 19c48488543a..ce4b8b6342eb 100644
--- a/compilerplugins/clang/cstylecast.cxx
+++ b/compilerplugins/clang/cstylecast.cxx
@@ -142,7 +142,7 @@ bool CStyleCast::VisitCStyleCastExpr(const CStyleCastExpr * expr) {
if( expr->getCastKind() == CK_ToVoid ) {
return true;
}
- // ignore integral-type conversions for now, there is unsufficient agreement about
+ // ignore integral-type conversions for now, there is insufficient agreement about
// the merits of C++ style casting in this case
if( expr->getCastKind() == CK_IntegralCast ) {
return true;
diff --git a/compilerplugins/clang/mergeclasses.cxx b/compilerplugins/clang/mergeclasses.cxx
index a6c1722206ff..72e4f329fe84 100644
--- a/compilerplugins/clang/mergeclasses.cxx
+++ b/compilerplugins/clang/mergeclasses.cxx
@@ -120,7 +120,7 @@ bool MergeClasses::VisitCXXConstructExpr( const CXXConstructExpr* pCXXConstructE
if (ignoreLocation(pCXXConstructExpr)) {
return true;
}
- // ignore calls when a sub-class is constructing it's superclass
+ // ignore calls when a sub-class is constructing its superclass
if (pCXXConstructExpr->getConstructionKind() != CXXConstructExpr::ConstructionKind::CK_Complete) {
return true;
}
diff --git a/compilerplugins/clang/refcounting.cxx b/compilerplugins/clang/refcounting.cxx
index 882d6867f15d..7681a6e52496 100644
--- a/compilerplugins/clang/refcounting.cxx
+++ b/compilerplugins/clang/refcounting.cxx
@@ -159,7 +159,7 @@ bool containsXInterfaceSubclass(const Type* pType0) {
const CXXRecordDecl* pRecordDecl = pType->getAsCXXRecordDecl();
if (pRecordDecl) {
pRecordDecl = pRecordDecl->getCanonicalDecl();
- // these classes override acquire/release and forwards to it's parent
+ // these classes override acquire/release and forwards to its parent
if (isDerivedFrom(pRecordDecl, "ListenerMultiplexerBase")) { // module UnoTools
return false;
}
diff --git a/compilerplugins/clang/staticmethods.cxx b/compilerplugins/clang/staticmethods.cxx
index 1d9313f7cbd0..bb8eac65af10 100644
--- a/compilerplugins/clang/staticmethods.cxx
+++ b/compilerplugins/clang/staticmethods.cxx
@@ -138,7 +138,7 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
if (startsWith(aFilename, SRCDIR "/include/canvas") || startsWith(aFilename, SRCDIR "/canvas")) {
return true;
}
- // classes that have static data and some kind of weird reference-counting trick in it's constructor
+ // classes that have static data and some kind of weird reference-counting trick in its constructor
if (aParentName == "LinguOptions" || aParentName == "svtools::EditableExtendedColorConfig"
|| aParentName == "svtools::ExtendedColorConfig" || aParentName == "SvtMiscOptions"
|| aParentName == "SvtAccessibilityOptions" || aParentName == "svtools::ColorConfig"