From 759c90456d418ffe69e1a2b4bcea2792491a6b5a Mon Sep 17 00:00:00 2001 From: Ilya Biryukov Date: Fri, 10 Jan 2020 08:14:11 +0100 Subject: [PATCH] [Syntax] Update comment, remove stale FIXME. NFC --- clang/include/clang/Tooling/Syntax/Tokens.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/include/clang/Tooling/Syntax/Tokens.h b/clang/include/clang/Tooling/Syntax/Tokens.h index 1f9eeae..a210815 100644 --- a/clang/include/clang/Tooling/Syntax/Tokens.h +++ b/clang/include/clang/Tooling/Syntax/Tokens.h @@ -240,9 +240,9 @@ public: /// 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 spelledTokens(FileID FID) const; /// Get all tokens that expand a macro in \p FID. For the following input -- 2.7.4