nickdesaulniers added inline comments.
================
Comment at: clang/test/Frontend/backend-attribute-error-warning.c:29
+ duplicate_errors(); // expected-error {{call to 'duplicate_errors' declared
with attribute error: two}}
+ // TODO: why is this a warning not an error????
+ duplicate_warnings(); // expected-warning {{call to 'duplicate_warnings'
declared with attribute warning: two}}
----------------
because the callee has a `warning` attribute! duh...TODO: delete comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106030/new/
https://reviews.llvm.org/D106030
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits