summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-04 12:15:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-04 12:15:50 +0200
commit3822597b21b529a2ed58a74477fd0e58390e656e (patch)
treef0977ab6b9fcdd04664a68bf9ff8191d4f96f281 /compilerplugins
parentea1839853fbdc49ead92a7cd465e427f4167cea2 (diff)
typo in comment
Change-Id: I816f2dad87d798296e60a5eb8842a147f504b90b
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/oncevar.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/oncevar.cxx b/compilerplugins/clang/oncevar.cxx
index 41feb23b3280..e7b55a09421f 100644
--- a/compilerplugins/clang/oncevar.cxx
+++ b/compilerplugins/clang/oncevar.cxx
@@ -172,8 +172,8 @@ bool OnceVar::VisitVarDecl( const VarDecl* varDecl )
// sizeof (T)
//
// with dependent type T /is/ constant, keep consistent here with the
- // (arguably broken) behavior of isConstantInitalizer returning false in
- // Clang >= 3.9):
+ // (arguably broken) behavior of isConstantInitializer returning false
+ // in Clang >= 3.9):
if (init->isValueDependent()) {
return true;
}