annotation token.
- I'm not sure what the best thing to print is, for now we just print the token
location and 'at annotation token'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84312
91177308-0d34-0410-b5e6-
96231b3b80d8
const Preprocessor &PP = P.getPreprocessor();
Tok.getLocation().print(OS, PP.getSourceManager());
- OS << ": current parser token '" << PP.getSpelling(Tok) << "'\n";
+ if (Tok.isAnnotation())
+ OS << ": at annotation token \n";
+ else
+ OS << ": current parser token '" << PP.getSpelling(Tok) << "'\n";
}