From: Daniel Dunbar Date: Sat, 7 Nov 2009 04:20:25 +0000 (+0000) Subject: Formatting fixes. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c5758bb0a4ec0f572cd20249277736da5715003;p=clang Formatting fixes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86336 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Frontend/InitHeaderSearch.h b/include/clang/Frontend/InitHeaderSearch.h index 48c4268252..34672c73ee 100644 --- a/include/clang/Frontend/InitHeaderSearch.h +++ b/include/clang/Frontend/InitHeaderSearch.h @@ -35,13 +35,13 @@ class InitHeaderSearch { std::string isysroot; public: - /// InitHeaderSearch::IncludeDirGroup - Identifies the several search path - /// lists stored internally. + /// IncludeDirGroup - Identifies the several search path + /// lists stored internally. enum IncludeDirGroup { - Quoted = 0, //< `#include ""` paths. Thing `gcc -iquote`. - Angled, //< Paths for both `#include ""` and `#include <>`. (`-I`) - System, //< Like Angled, but marks system directories. - After //< Like System, but searched after the system directories. + Quoted = 0, ///< `#include ""` paths. Thing `gcc -iquote`. + Angled, ///< Paths for both `#include ""` and `#include <>`. (`-I`) + System, ///< Like Angled, but marks system directories. + After ///< Like System, but searched after the system directories. }; InitHeaderSearch(HeaderSearch &HS, diff --git a/lib/Frontend/InitHeaderSearch.cpp b/lib/Frontend/InitHeaderSearch.cpp index ed52211e38..6f87e033ea 100644 --- a/lib/Frontend/InitHeaderSearch.cpp +++ b/lib/Frontend/InitHeaderSearch.cpp @@ -120,10 +120,10 @@ void InitHeaderSearch::AddGnuCPlusPlusIncludePaths(const std::string &Base, void InitHeaderSearch::AddMinGWCPlusPlusIncludePaths(const std::string &Base, const char *Arch, const char *Version) { - std::string localBase = Base + "/" + Arch + "/" + Version + "/include"; - AddPath(localBase, System, true, false, false); - AddPath(localBase + "/c++", System, true, false, false); - AddPath(localBase + "/c++/backward", System, true, false, false); + std::string localBase = Base + "/" + Arch + "/" + Version + "/include"; + AddPath(localBase, System, true, false, false); + AddPath(localBase + "/c++", System, true, false, false); + AddPath(localBase + "/c++/backward", System, true, false, false); } // FIXME: This probably should goto to some platform utils place.