diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-02-19 19:04:23 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-02-19 19:04:23 +0000 |
commit | f05c0958e281e89ed1d8cc0752a5878ac9d8ed66 (patch) | |
tree | ad3d75c2bbdbdbfb747873274c38e2f66dac106e /clang/test/FixIt/fixit.cpp | |
parent | 85ef0431a7a7648af053b742afc7eb8f4ebd5adc (diff) | |
download | bcm5719-llvm-f05c0958e281e89ed1d8cc0752a5878ac9d8ed66.tar.gz bcm5719-llvm-f05c0958e281e89ed1d8cc0752a5878ac9d8ed66.zip |
Remove the Fix-It for "main must return 'int'", which is not always
correct and is not worth fixing. Fixes PR8396.
llvm-svn: 126035
Diffstat (limited to 'clang/test/FixIt/fixit.cpp')
-rw-r--r-- | clang/test/FixIt/fixit.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/test/FixIt/fixit.cpp b/clang/test/FixIt/fixit.cpp index 1993425c955..41b187b0718 100644 --- a/clang/test/FixIt/fixit.cpp +++ b/clang/test/FixIt/fixit.cpp @@ -61,11 +61,6 @@ namespace rdar7796492 { } -CT<1> main(void); // expected-error{{'main' must return 'int'}} - -// typedef CT<1> mainT(void); -// mainT main; // TODO - // extra qualification on member class C { int C::foo(); |