summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/constantparam.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-10-01 17:45:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-01 20:10:06 +0000
commitc0bcdde2a048b6e5465a14182947c09fcd170d45 (patch)
tree24634edbf7d0a08e2b2ef969986e154e806cbe35 /compilerplugins/clang/constantparam.cxx
parent0d4996862b5df79fd601eff6193d5718f8f84047 (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/clang/constantparam.cxx')
-rw-r--r--compilerplugins/clang/constantparam.cxx2
1 files changed, 1 insertions, 1 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);