summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/Index/skip-parsed-bodies/compile_commands.json1
-rw-r--r--clang/tools/libclang/Indexing.cpp22
2 files changed, 0 insertions, 23 deletions
diff --git a/clang/test/Index/skip-parsed-bodies/compile_commands.json b/clang/test/Index/skip-parsed-bodies/compile_commands.json
index 30ede0db101..ddd46be955d 100644
--- a/clang/test/Index/skip-parsed-bodies/compile_commands.json
+++ b/clang/test/Index/skip-parsed-bodies/compile_commands.json
@@ -16,7 +16,6 @@
}
]
-// XFAIL: mingw32,win32,windows-gnu
// RUN: c-index-test -index-compile-db %s | FileCheck %s
// CHECK: [startedTranslationUnit]
diff --git a/clang/tools/libclang/Indexing.cpp b/clang/tools/libclang/Indexing.cpp
index 4929d6244e5..01f1b956b28 100644
--- a/clang/tools/libclang/Indexing.cpp
+++ b/clang/tools/libclang/Indexing.cpp
@@ -45,26 +45,6 @@ namespace {
// Skip Parsed Bodies
//===----------------------------------------------------------------------===//
-#ifdef LLVM_ON_WIN32
-
-// FIXME: On windows it is disabled since current implementation depends on
-// file inodes.
-
-class SessionSkipBodyData { };
-
-class TUSkipBodyControl {
-public:
- TUSkipBodyControl(SessionSkipBodyData &sessionData,
- PPConditionalDirectiveRecord &ppRec,
- Preprocessor &pp) { }
- bool isParsed(SourceLocation Loc, FileID FID, const FileEntry *FE) {
- return false;
- }
- void finished() { }
-};
-
-#else
-
/// \brief A "region" in source code identified by the file/offset of the
/// preprocessor conditional directive that it belongs to.
/// Multiple, non-consecutive ranges can be parts of the same region.
@@ -238,8 +218,6 @@ private:
}
};
-#endif
-
//===----------------------------------------------------------------------===//
// IndexPPCallbacks
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud