hubert.reinterpretcast added inline comments.
================
Comment at: clang/lib/Parse/ParseDecl.cpp:7331-7332
}
- if (Next.getIdentifierInfo() == Ident_bool) {
+ if ((Next.getIdentifierInfo() == Ident_bool) ||
+ Next.getIdentifierInfo() == Ident_Bool) {
Tok.setKind(tok::kw___vector);
----------------
Minor nit: remove (inconsistently applied) extra parentheses.
================
Comment at: clang/lib/Parse/Parser.cpp:515
+ if (getLangOpts().AltiVec)
+ Ident_Bool = &PP.getIdentifierTable().get("_Bool");
----------------
No need for an extra `if` block. Just need to figure out which block above this
should go in.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102064/new/
https://reviews.llvm.org/D102064
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits