summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-05-07 13:20:22 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2014-05-07 13:20:22 +0100
commit6d14cb9a63131bf68efd4593fc14560bc0c8edf8 (patch)
tree6e440fa35157d6256f55e750c2c65697686611df
parentedf73b108d9f43c1250c069ecb9ec626d8bf8a2b (diff)
clang-plugin: Clarify a warning about (allow-none) annotations
-rw-r--r--clang-plugin/nullability-checker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-plugin/nullability-checker.cpp b/clang-plugin/nullability-checker.cpp
index abd28a1..3ad564b 100644
--- a/clang-plugin/nullability-checker.cpp
+++ b/clang-plugin/nullability-checker.cpp
@@ -243,7 +243,7 @@ NullabilityVisitor::TraverseFunctionDecl (FunctionDecl* func)
"’ parameter of function " +
func->getNameAsString () + "() "
"(already has a nonnull attribute or "
- "no (allow-none) annotation).",
+ "no non-NULL precondition assertion).",
this->_compiler,
parm_decl->getLocStart ());
break;