Skip to content
Snippets Groups Projects
Commit da2ce2e0 authored by Matthias Braun's avatar Matthias Braun
Browse files

Try to fix modules build

Module builds somehow report an ambiguity between clang::Diagnostic and
clang::Tooling::Diagnostic. It seems as if one of the additional headers
brought in by the module brings the clang namespace to the toplevel. I
could not find out the reason for that, so for now I go with the simple
fix to bring the build back to green.

rdar://33321397

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308071 91177308-0d34-0410-b5e6-96231b3b80d8
parent 01102f19
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
using namespace llvm; using namespace llvm;
using namespace clang::tooling; using namespace clang::tooling;
using clang::tooling::Diagnostic;
static Diagnostic makeDiagnostic(StringRef DiagnosticName, static Diagnostic makeDiagnostic(StringRef DiagnosticName,
const std::string &Message, int FileOffset, const std::string &Message, int FileOffset,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment