This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
f572f3364d
llvm-project
/
clang
/
test
/
Misc
/
diag-checker.c
6 lines
79 B
C
Raw
Normal View
History
Unescape
Escape
Removed option "-parse-ast-check" from clang driver. This is now implemented using "-parse-ast -verify". Updated all test cases (using a sed script) that invoked -parse-ast-check to now use -parse-ast -verify. Fixed a bug where using "-verify" instead of "-parse-ast-check" would not correctly create the DiagClient needed to accumulate diagnostics. llvm-svn: 42365
2007-09-27 04:14:22 +08:00
// RUN: clang -parse-ast -verify %s
Build ASTs before relexing the file. This avoids having comment finding mutate the preprocessor state, causing bogus diagnostics when the file is parsed for real. This implements Misc/diag-checker.c. Thanks to Ted for noticing this. llvm-svn: 41000
2007-08-11 02:27:41 +08:00
#
include
<stdio.h>
void
foo
(
FILE
*
FP
)
{
}