summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Grasman <kim.grasman@gmail.com>2015-11-23 20:55:41 +0100
committerVolodymyr Sapsai <vsapsai@gmail.com>2015-11-29 18:18:26 -0800
commit98f3e62d371ae602061951115efc3b75ff255824 (patch)
tree99e7e9646ff827308aacd3c3d4a9cecbba699cb6
parent8f3370aa991e40210c106aced4017c1d60d87293 (diff)
Remove excess blank lines and wordsmith a commentclang_3.7clang_3.7
-rw-r--r--iwyu_globals.cc1
-rw-r--r--iwyu_path_util.cc3
2 files changed, 1 insertions, 3 deletions
diff --git a/iwyu_globals.cc b/iwyu_globals.cc
index fc0b646..1ad5edc 100644
--- a/iwyu_globals.cc
+++ b/iwyu_globals.cc
@@ -283,7 +283,6 @@ static vector<HeaderSearchPath> NormalizeHeaderSearchPaths(
include_dirs.push_back(HeaderSearchPath(it->first, it->second));
}
-
sort(include_dirs.begin(), include_dirs.end(), &SortByDescendingLength);
return include_dirs;
}
diff --git a/iwyu_path_util.cc b/iwyu_path_util.cc
index 30fad46..a5f5adf 100644
--- a/iwyu_path_util.cc
+++ b/iwyu_path_util.cc
@@ -84,7 +84,7 @@ string CanonicalizeFilePath(const string& path) {
string result = path;
#ifdef _WIN32
- // canonicalise directory separators (forward slashes considered canonical)
+ // Canonicalise directory separators (forward slashes considered canonical.)
for (size_t i = 0; i < result.size(); ++i) {
if (result[i] == '\\')
result[i] = '/';
@@ -198,7 +198,6 @@ string ConvertToQuotedInclude(const string& filepath) {
}
}
-
// Case 2: Uses the implicit "-I." entry on the search path. Always local.
return "\"" + path + "\"";
}