diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-10-01 17:45:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-01 20:10:06 +0000 |
commit | c0bcdde2a048b6e5465a14182947c09fcd170d45 (patch) | |
tree | 24634edbf7d0a08e2b2ef969986e154e806cbe35 /compilerplugins | |
parent | 0d4996862b5df79fd601eff6193d5718f8f84047 (diff) |
Fix typos
Change-Id: I6aeda978911b25caa45d4e459e581fc743e93d2c
Reviewed-on: https://gerrit.libreoffice.org/29442
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/constantparam.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/dllprivate.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/compilerplugins/clang/constantparam.cxx b/compilerplugins/clang/constantparam.cxx index c517e59739c3..550cdd16499e 100644 --- a/compilerplugins/clang/constantparam.cxx +++ b/compilerplugins/clang/constantparam.cxx @@ -188,7 +188,7 @@ bool ConstantParam::VisitCallExpr(const CallExpr * callExpr) { return true; } functionDecl = functionDecl->getCanonicalDecl(); - // method overrides don't always specify the same default params (althogh they probably should) + // method overrides don't always specify the same default params (although they probably should) // so we need to work our way up to the root method while (isa<CXXMethodDecl>(functionDecl)) { const CXXMethodDecl* methodDecl = dyn_cast<CXXMethodDecl>(functionDecl); diff --git a/compilerplugins/clang/dllprivate.cxx b/compilerplugins/clang/dllprivate.cxx index d94ac3a49bd2..05cf26d7d5d2 100644 --- a/compilerplugins/clang/dllprivate.cxx +++ b/compilerplugins/clang/dllprivate.cxx @@ -58,9 +58,9 @@ public: private: void run() override { - // DISABLE_DYNLOADING makes SAL_DLLPUBLIC_{EXPORT,IMPORT,TEMPLAT} expand + // DISABLE_DYNLOADING makes SAL_DLLPUBLIC_{EXPORT,IMPORT,TEMPLATE} expand // to visibility("hidden") attributes, which would cause bogus warnings - // here (e.g., in UBSan builds that explicitly define DISBALE_DYNLOADING + // here (e.g., in UBSan builds that explicitly define DISABLE_DYNLOADING // in jurt/source/pipe/staticsalhack.cxx); alternatively, change // include/sal/types.h to make those SAL_DLLPUBLIC_* expand to nothing // for DISABLE_DYNLOADING: |