diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-03-25 09:32:57 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-03-25 08:43:01 +0000 |
commit | 5262883672208ac17b58ec197a1f984d99403b7d (patch) | |
tree | 990a575501845d2f915757fc3af0faecec70f1c3 /compilerplugins | |
parent | 72a2f615c37aada0d5ab8791f1fa9a71772b50f6 (diff) |
Fix typos
Change-Id: If92860597a44ee79b513d255ce3f21112485a97e
Reviewed-on: https://gerrit.libreoffice.org/35617
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/passstuffbyref.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/plugin.hxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/sfxpoolitem.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/unreffun.cxx | 2 | ||||
-rwxr-xr-x | compilerplugins/clang/unusedmethods.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/compilerplugins/clang/passstuffbyref.cxx b/compilerplugins/clang/passstuffbyref.cxx index 37dcb4e47704..8b60b5c353e7 100644 --- a/compilerplugins/clang/passstuffbyref.cxx +++ b/compilerplugins/clang/passstuffbyref.cxx @@ -21,7 +21,7 @@ // // Generally recommending lambda capture by-ref rather than by-copy is even more // problematic than with function parameters, as a lambda instance can easily -// outlive a referrenced variable. So once lambdas start to get used in more +// outlive a referenced variable. So once lambdas start to get used in more // sophisticated ways than passing them into standard algorithms, this plugin's // advice, at least for explicit captures, will need to be revisited. diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx index 6248ef705134..eeda9de0867e 100644 --- a/compilerplugins/clang/plugin.hxx +++ b/compilerplugins/clang/plugin.hxx @@ -104,7 +104,7 @@ class RewritePlugin // If the resulting line would be completely empty, it'll be removed. RemoveLineIfEmpty = 1 << 0, // Use this to remove the declaration/statement as a whole, i.e. all whitespace before the statement - // and the trailing semicolor (is not part of the AST element range itself). + // and the trailing semicolon (is not part of the AST element range itself). // The trailing semicolon must be present. RemoveWholeStatement = 1 << 1, // Removes also all whitespace preceding and following the expression (completely, so that diff --git a/compilerplugins/clang/sfxpoolitem.cxx b/compilerplugins/clang/sfxpoolitem.cxx index b18251795486..1f723ba107c0 100644 --- a/compilerplugins/clang/sfxpoolitem.cxx +++ b/compilerplugins/clang/sfxpoolitem.cxx @@ -133,7 +133,7 @@ bool SfxPoolItem::VisitCXXRecordDecl(const CXXRecordDecl* decl) } report( DiagnosticsEngine::Warning, - "SfxPoolItem subclass %0 declares new fields, but does not overide operator==", + "SfxPoolItem subclass %0 declares new fields, but does not override operator==", decl->getLocStart()) << decl->getQualifiedNameAsString() << decl->getSourceRange(); return true; diff --git a/compilerplugins/clang/unreffun.cxx b/compilerplugins/clang/unreffun.cxx index 1dac4d7b276b..74eeec2e66ef 100644 --- a/compilerplugins/clang/unreffun.cxx +++ b/compilerplugins/clang/unreffun.cxx @@ -80,7 +80,7 @@ bool UnrefFun::VisitFunctionDecl(FunctionDecl const * decl) { { Decl const * prev = getPreviousNonFriendDecl(decl); if (prev != nullptr/* && prev != decl->getPrimaryTemplate()*/) { - // Workaround for redeclarations that introduce visiblity attributes + // Workaround for redeclarations that introduce visibility attributes // (as is done with // // SAL_DLLPUBLIC_EXPORT GType lok_doc_view_get_type(); diff --git a/compilerplugins/clang/unusedmethods.py b/compilerplugins/clang/unusedmethods.py index d8db1c4bcdac..b5bf06ba985d 100755 --- a/compilerplugins/clang/unusedmethods.py +++ b/compilerplugins/clang/unusedmethods.py @@ -207,7 +207,7 @@ for d in definitionSet: # alone if the other one is in use. if d[1] == "begin() const" or d[1] == "begin()" or d[1] == "end()" or d[1] == "end() const": continue - # There is lots of macro magic going on in SRCDIR/include/sax/fshelper.hxx that should be using C++11 varag templates + # There is lots of macro magic going on in SRCDIR/include/sax/fshelper.hxx that should be using C++11 varargs templates if d[1].startswith("sax_fastparser::FastSerializerHelper::"): continue # used by Windows build |