[LLVMbugs] [Bug 5214] New: Warn when two headers have the same header guard.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Oct 16 13:40:01 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=5214
Summary: Warn when two headers have the same header guard.
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: preprocessor
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: jyasskin at google.com
CC: llvmbugs at cs.uiuc.edu
I've often copied an existing header to start a new file, forgotten to update
the header guard, and then been very confused when lots of declarations are
missing. It'd be really nice if clang would warn about this.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list