http://llvm.org/bugs/show_bug.cgi?id=20022
Bug ID: 20022
Summary: warn on mismatched pragma diagnostic push/pop
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
We do warn on pop without push, but we don't warn on push with no pop. We
should do that. Testcase:
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Woverloaded-virtual"
GCC doesn't warn on anything I tried, not even popping an empty stack.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs