Author: Ilya Biryukov Date: 2020-01-10T08:15:18+01:00 New Revision: 759c90456d418ffe69e1a2b4bcea2792491a6b5a
URL: https://github.com/llvm/llvm-project/commit/759c90456d418ffe69e1a2b4bcea2792491a6b5a DIFF: https://github.com/llvm/llvm-project/commit/759c90456d418ffe69e1a2b4bcea2792491a6b5a.diff LOG: [Syntax] Update comment, remove stale FIXME. NFC Added: Modified: clang/include/clang/Tooling/Syntax/Tokens.h Removed: ################################################################################ diff --git a/clang/include/clang/Tooling/Syntax/Tokens.h b/clang/include/clang/Tooling/Syntax/Tokens.h index 1f9eeae203f1..a210815d49f9 100644 --- a/clang/include/clang/Tooling/Syntax/Tokens.h +++ b/clang/include/clang/Tooling/Syntax/Tokens.h @@ -240,9 +240,9 @@ class TokenBuffer { /// Lexed tokens of a file before preprocessing. E.g. for the following input /// #define DECL(name) int name = 10 /// DECL(a); - /// spelledTokens() returns {"#", "define", "DECL", "(", "name", ")", "eof"}. - /// FIXME: we do not yet store tokens of directives, like #include, #define, - /// #pragma, etc. + /// spelledTokens() returns + /// {"#", "define", "DECL", "(", "name", ")", "int", "name", "=", "10", + /// "DECL", "(", "a", ")", ";"} llvm::ArrayRef<syntax::Token> spelledTokens(FileID FID) const; /// Get all tokens that expand a macro in \p FID. For the following input _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits