summaryrefslogtreecommitdiffstats
path: root/clang/tools
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-02-10 01:29:57 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-02-10 01:29:57 +0000
commitcd4d945525f03f617fe66401b5ef60f0e971fe76 (patch)
tree8c21ffc508a0cf3f818e42fdb5c4208b56d8c0a3 /clang/tools
parent0882a5d5ec85ee26a6e94264864cea2f6ae6c90b (diff)
downloadbcm5719-llvm-cd4d945525f03f617fe66401b5ef60f0e971fe76.tar.gz
bcm5719-llvm-cd4d945525f03f617fe66401b5ef60f0e971fe76.zip
libclang: Enable skip-parsed-bodies on win32.
I guess it would be working since Rafael's r187619. llvm-svn: 260344
Diffstat (limited to 'clang/tools')
-rw-r--r--clang/tools/libclang/Indexing.cpp22
1 files changed, 0 insertions, 22 deletions
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