summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2020-01-10 08:14:11 +0100
committerIlya Biryukov <ibiryukov@google.com>2020-01-10 08:15:18 +0100
commit759c90456d418ffe69e1a2b4bcea2792491a6b5a (patch)
tree2ec8dea8e27e9a7994a87a68f5ad7d246be8c73e /clang
parentb38d0d5bdb353f8496a0fc38b9bbee419b41a321 (diff)
downloadbcm5719-llvm-759c90456d418ffe69e1a2b4bcea2792491a6b5a.tar.gz
bcm5719-llvm-759c90456d418ffe69e1a2b4bcea2792491a6b5a.zip
[Syntax] Update comment, remove stale FIXME. NFC
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Tooling/Syntax/Tokens.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/include/clang/Tooling/Syntax/Tokens.h b/clang/include/clang/Tooling/Syntax/Tokens.h
index 1f9eeae203f..a210815d49f 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<syntax::Token> spelledTokens(FileID FID) const;
/// Get all tokens that expand a macro in \p FID. For the following input
OpenPOWER on IntegriCloud