summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-23 19:51:26 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-23 22:20:26 +0200
commitd29bd2ac60bcb6ad15d9746303e0d54747eca4b1 (patch)
tree97d172aa2c2d7361be5677479bb2328cd0fde422 /compilerplugins
parent650a836d00360ffd0b0c5a97bbaf9fe5513bbf32 (diff)
Fix typos
It passed "make check" Change-Id: I055017a7616ed4d9725c66a387c040b55e22751f Reviewed-on: https://gerrit.libreoffice.org/76202 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/referencecasting.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/referencecasting.cxx b/compilerplugins/clang/referencecasting.cxx
index e60177f4effb..ef11b0b5b942 100644
--- a/compilerplugins/clang/referencecasting.cxx
+++ b/compilerplugins/clang/referencecasting.cxx
@@ -375,7 +375,7 @@ static int derivedFromCount(QualType qt, const CXXRecordDecl* baseRecord)
*/
static bool isDerivedFrom(const CXXRecordDecl* subtypeRecord, const CXXRecordDecl* baseRecord)
{
- // if there is more than one case, then we have an ambigous conversion, and we can't change the code
+ // if there is more than one case, then we have an ambiguous conversion, and we can't change the code
// to use the upcasting constructor.
return derivedFromCount(subtypeRecord, baseRecord) == 1;
}