type_info has been made an implicitly predeclared type in r198497 and will no
longer appear as a user-declared type so we can remove this old hack.
This reverts commit r158595.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198502
91177308-0d34-0410-b5e6-
96231b3b80d8
bool FoundTopLevelDecl = false;
EXPECT_TRUE(runToolOnCode(
new TestAction(new FindTopLevelDeclConsumer(&FoundTopLevelDecl)), ""));
-#if !defined(_MSC_VER)
EXPECT_FALSE(FoundTopLevelDecl);
-#else
- // FIXME: LangOpts.MicrosoftExt appends "class type_info;"
- EXPECT_TRUE(FoundTopLevelDecl);
-#endif
}
namespace {