summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/SemaDeclAttr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp
index d5bd4f8944a..f30a6ff78f9 100644
--- a/clang/lib/Sema/SemaDeclAttr.cpp
+++ b/clang/lib/Sema/SemaDeclAttr.cpp
@@ -386,8 +386,7 @@ static void HandleNonNullAttr(Decl *d, const AttributeList &Attr, Sema &S) {
}
}
- // No pointer arguments? The attribute in this case is
- // trivially satisfied.
+ // No pointer arguments?
if (NonNullArgs.empty()) {
// Warn the trivial case only if attribute is not coming from a
// macro instantiation.
OpenPOWER on IntegriCloud