[cfe-dev] Patch for c++ operator aliases in preprocessor
Chris Lattner
clattner at apple.com
Thu Dec 11 20:16:16 PST 2008
On Dec 11, 2008, at 7:59 PM, Chris Goller wrote:
> Hi, I'm a first time submitter to clang (Doug G pointed me to the
> project).
Awesome!
> I dipped my toe into the shallow end and came up with this
> operator alias patch. All it does is add three more aliases as
> invalid macro tokens.
>
> Also, is there any way to get at the isCPlusPlusOperatorKeyword
> function at that point in the lexer? If so, I could change the
> patch so all those string compares could be removed.
Do you mean operator aliases like "and" "xor" etc? I think they are
already supported in clang,
-Chris
More information about the cfe-dev
mailing list