http://llvm.org/bugs/show_bug.cgi?id=11488
Bug #: 11488
Summary: Clang should warn on the use of reserved
identifier/macro names
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
For C, Clang should warn when user code uses identifiers or macros that are
implementation-reserved.
For C(99), this would mean names starting with an underscore followed by
another unerscore or capitalized letter.
For C++ a single underscore is also reserved for the global namespace.
I could have messed the above rules up, but these are the cause of a lot of
unexpected bugs, and a warning would be super-easy to implement.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs