summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/referencecasting.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/referencecasting.cxx')
-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;
}