[LLVMbugs] [Bug 10606] C++ operator cannot be used as a macro name

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 8 05:07:10 PDT 2011


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

Sean Hunt <scshunt at csclub.uwaterloo.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |scshunt at csclub.uwaterloo.ca
         Resolution|                            |INVALID

--- Comment #1 from Sean Hunt <scshunt at csclub.uwaterloo.ca> 2011-08-08 07:07:09 CDT ---
Clang's behavior is correct. Lexically, 'and' is not an identifier but an
operator, and one cannot define a macro for an operator.

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