diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-03-19 01:51:19 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-03-19 01:51:19 +0000 |
commit | b9b05100c567d67b237484be950ddf73fbeea797 (patch) | |
tree | 99474b39ab2f28864d9192b13864d65acdac0620 /clang/test/Preprocessor/has_include.c | |
parent | 5a8ea4ca9470358800836a932c2fccb8f3b5710c (diff) | |
download | bcm5719-llvm-b9b05100c567d67b237484be950ddf73fbeea797.tar.gz bcm5719-llvm-b9b05100c567d67b237484be950ddf73fbeea797.zip |
Factor out repeated code parsing and concatenating header-names from
tokens.
We now actually form an angled_string_literal token for a header name by
concatenation rather than just working out what its contents would be.
This substantially simplifies downstream processing and is necessary for
C++20 header unit imports.
llvm-svn: 356433
Diffstat (limited to 'clang/test/Preprocessor/has_include.c')
-rw-r--r-- | clang/test/Preprocessor/has_include.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/has_include.c b/clang/test/Preprocessor/has_include.c index af1f6b8414e..c95025d8386 100644 --- a/clang/test/Preprocessor/has_include.c +++ b/clang/test/Preprocessor/has_include.c @@ -179,7 +179,7 @@ __has_include #if __has_include(<stdint.h> #endif -// expected-error@+1 {{expected "FILENAME" or <FILENAME>}} // expected-error@+1 {{expected value in expression}} +// expected-error@+1 {{expected '>'}} expected-note@+1 {{to match this '<'}} // expected-error@+1 {{expected value in expression}} #if __has_include(<stdint.h) #endif |