http://llvm.org/bugs/show_bug.cgi?id=21284

            Bug ID: 21284
           Summary: Preprocessor warning when redefining keywords
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Could the preprocessor output a warning when someone redefines something that
shouldn't be redefined, like:

an identifier with special meaning:

#define override const

a keyword: 

#define break continue

an alternative representation: 

#define and or

a literal:

#define 1 2
#define "hello" "world"
#define 2. 3.

escape sequences... there are probably a lot of things that shouldn't be
redefined.

-- 
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

Reply via email to