summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/Tooling/Tooling.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Tooling/Tooling.cpp b/clang/lib/Tooling/Tooling.cpp
index c5fec683844..6f7e7b6c1c4 100644
--- a/clang/lib/Tooling/Tooling.cpp
+++ b/clang/lib/Tooling/Tooling.cpp
@@ -133,6 +133,7 @@ std::string getAbsolutePath(StringRef File) {
SmallString<1024> AbsolutePath = RelativePath;
llvm::error_code EC = llvm::sys::fs::make_absolute(AbsolutePath);
assert(!EC);
+ (void)EC;
SmallString<1024> PathStorage;
llvm::sys::path::native(Twine(AbsolutePath), PathStorage);
return PathStorage.str();
OpenPOWER on IntegriCloud