summaryrefslogtreecommitdiffstats
path: root/tools/clang/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang/plugins')
-rw-r--r--tools/clang/plugins/ChromeClassTester.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/clang/plugins/ChromeClassTester.cpp b/tools/clang/plugins/ChromeClassTester.cpp
index b92305d..927c655 100644
--- a/tools/clang/plugins/ChromeClassTester.cpp
+++ b/tools/clang/plugins/ChromeClassTester.cpp
@@ -225,7 +225,7 @@ bool ChromeClassTester::InBannedDirectory(SourceLocation loc) {
// remove our known srcroot from it if needed.
char resolvedPath[MAXPATHLEN];
if (realpath(b.c_str(), resolvedPath)) {
- std::string resolved = resolvedPath;
+ b = resolvedPath;
}
for (std::vector<std::string>::const_iterator it =