diff options
author | John McCall <rjmccall@apple.com> | 2009-11-03 19:26:08 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-11-03 19:26:08 +0000 |
commit | d5a36321b91150206c35eb691cbb646dd3fc74c4 (patch) | |
tree | f8e43a09cc7e5cb74b9e9b29fb44a1074087a104 /clang/test/Lexer/block_cmt_end.c | |
parent | cde8de519d429f65efc0279dfd5b35d045d6a9e7 (diff) | |
download | bcm5719-llvm-d5a36321b91150206c35eb691cbb646dd3fc74c4.tar.gz bcm5719-llvm-d5a36321b91150206c35eb691cbb646dd3fc74c4.zip |
Reorganize the parsing of decl groups / function definitions so that
declarators are parsed primarily within a single function (at least for
these cases). Remove some excess diagnostics arising during parse failures.
llvm-svn: 85924
Diffstat (limited to 'clang/test/Lexer/block_cmt_end.c')
-rw-r--r-- | clang/test/Lexer/block_cmt_end.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Lexer/block_cmt_end.c b/clang/test/Lexer/block_cmt_end.c index d85cf81f214..83d6cf18924 100644 --- a/clang/test/Lexer/block_cmt_end.c +++ b/clang/test/Lexer/block_cmt_end.c @@ -17,7 +17,7 @@ next comment ends with normal escaped newline: /* expected-warning {{escaped newline}} expected-warning {{backslash and newline}} *\ / -int bar +int bar /* expected-error {{invalid token after top level declarator}} */ /* xyz @@ -26,7 +26,7 @@ next comment ends with a trigraph escaped newline: */ /* expected-warning {{escaped newline between}} expected-warning {{backslash and newline separated by space}} expected-warning {{trigraph ends block comment}} *??/ / -foo /* expected-error {{invalid token after top level declarator}} */ +foo // rdar://6060752 - We should not get warnings about trigraphs in comments: |