Skip to content

Commit

Permalink
Disable FindSystemDefines
Browse files Browse the repository at this point in the history
Should fix issue 824
  • Loading branch information
jacobdufault committed Oct 29, 2018
1 parent 85c70b8 commit 9494c3e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/clang_system_include_extractor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ std::vector<std::string> ExtractSystemIncludePaths(

std::vector<std::string> ExtractSystemDefines(
const std::string& preprocessor_output) {
// Disabled due to bug reports, ie,
// https://github.com/cquery-project/cquery/issues/824. This can be re-enabled
// on master after the reported issues are investigated.
return {};

/*
std::vector<std::string> lines = SplitString(preprocessor_output, "\n");
std::vector<std::string> output;
for (auto& line : lines) {
Expand All @@ -87,6 +93,7 @@ std::vector<std::string> ExtractSystemDefines(
}
return output;
*/
}

} // namespace
Expand Down

0 comments on commit 9494c3e

Please sign in to comment.