aaron.ballman added inline comments.
================ Comment at: clang/test/Lexer/deprecate-macro.c:34-39 +#ifdef foo +#endif + +// expected-warning@+1{{macro 'foo' has been marked as deprecated}} +#ifndef foo +#endif ---------------- Some more test cases to add: ``` // Test that we diagnose on #elifdef. #ifdef baz #elifdef foo // expected-warning #endif // Test that we diagnose on #elifndef. #ifdef baz #elifndef foo // expected-warning #endif // Test that we diagnose both the taken branch and the skipped branch. #ifdef foo // expected-warning #elifdef bar // expected-warning #endif ``` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D106732/new/ https://reviews.llvm.org/D106732 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits