summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-02-19 19:04:23 +0000
committerDouglas Gregor <dgregor@apple.com>2011-02-19 19:04:23 +0000
commitf05c0958e281e89ed1d8cc0752a5878ac9d8ed66 (patch)
treead3d75c2bbdbdbfb747873274c38e2f66dac106e /clang/test/FixIt/fixit.cpp
parent85ef0431a7a7648af053b742afc7eb8f4ebd5adc (diff)
downloadbcm5719-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.cpp5
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();
OpenPOWER on IntegriCloud