summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2018-05-17 09:15:22 +0000
committerIvan Donchevskii <ivan.donchevskii@qt.io>2018-05-17 09:15:22 +0000
commitf70d28b1f458c79aa70bcf85111c35442588d01e (patch)
treede438d94812f0d8644a9f32ffb0db46f7e5a78d2 /clang/tools/c-index-test/c-index-test.c
parent75cfa341567851509f916db580927a958487b4dc (diff)
downloadbcm5719-llvm-f70d28b1f458c79aa70bcf85111c35442588d01e.tar.gz
bcm5719-llvm-f70d28b1f458c79aa70bcf85111c35442588d01e.zip
Revert https://reviews.llvm.org/D46050 and https://reviews.llvm.org/D45815
Windows line endings. Requires proper resubmission. llvm-svn: 332585
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
-rw-r--r--clang/tools/c-index-test/c-index-test.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c
index 828cb98c1f9..d57ac4f9f6c 100644
--- a/clang/tools/c-index-test/c-index-test.c
+++ b/clang/tools/c-index-test/c-index-test.c
@@ -79,14 +79,12 @@ static unsigned getDefaultParsingOptions() {
if (getenv("CINDEXTEST_COMPLETION_BRIEF_COMMENTS"))
options |= CXTranslationUnit_IncludeBriefCommentsInCodeCompletion;
if (getenv("CINDEXTEST_CREATE_PREAMBLE_ON_FIRST_PARSE"))
- options |= CXTranslationUnit_CreatePreambleOnFirstParse;
- if (getenv("CINDEXTEST_KEEP_GOING"))
- options |= CXTranslationUnit_KeepGoing;
- if (getenv("CINDEXTEST_LIMIT_SKIP_FUNCTION_BODIES_TO_PREAMBLE"))
- options |= CXTranslationUnit_LimitSkipFunctionBodiesToPreamble;
-
- return options;
-}
+ options |= CXTranslationUnit_CreatePreambleOnFirstParse;
+ if (getenv("CINDEXTEST_KEEP_GOING"))
+ options |= CXTranslationUnit_KeepGoing;
+
+ return options;
+}
static void ModifyPrintingPolicyAccordingToEnv(CXPrintingPolicy Policy) {
struct Mapping {
OpenPOWER on IntegriCloud