diff options
| author | Matthias Braun <matze@braunis.de> | 2017-07-15 00:29:25 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2017-07-15 00:29:25 +0000 |
| commit | 0bc7d633224a56e0112243e428b4e8fbdb9a3f60 (patch) | |
| tree | e4520b6e7363c4934de65a2e132ddcb543579379 /clang/unittests/Tooling/DiagnosticsYamlTest.cpp | |
| parent | 5996b1c3307d94c11d0ad483778d1d21060eaeb3 (diff) | |
| download | bcm5719-llvm-0bc7d633224a56e0112243e428b4e8fbdb9a3f60.tar.gz bcm5719-llvm-0bc7d633224a56e0112243e428b4e8fbdb9a3f60.zip | |
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
llvm-svn: 308071
Diffstat (limited to 'clang/unittests/Tooling/DiagnosticsYamlTest.cpp')
| -rw-r--r-- | clang/unittests/Tooling/DiagnosticsYamlTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Tooling/DiagnosticsYamlTest.cpp b/clang/unittests/Tooling/DiagnosticsYamlTest.cpp index 06b60202b97..83e09eaeef2 100644 --- a/clang/unittests/Tooling/DiagnosticsYamlTest.cpp +++ b/clang/unittests/Tooling/DiagnosticsYamlTest.cpp @@ -18,6 +18,7 @@ using namespace llvm; using namespace clang::tooling; +using clang::tooling::Diagnostic; static Diagnostic makeDiagnostic(StringRef DiagnosticName, const std::string &Message, int FileOffset, |

