[LLVMbugs] [Bug 20022] New: warn on mismatched pragma diagnostic push/pop
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 12 20:05:22 PDT 2014
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: unassignedclangbugs at nondot.org
Reporter: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140613/fa3bfa40/attachment.html>
More information about the llvm-bugs
mailing list