From 6dc96381535a1188cc7c27443211115496aa0800 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 7 Nov 2009 04:20:25 +0000 Subject: [PATCH] Formatting fixes. llvm-svn: 86336 --- clang/include/clang/Frontend/InitHeaderSearch.h | 12 ++++++------ clang/lib/Frontend/InitHeaderSearch.cpp | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/clang/include/clang/Frontend/InitHeaderSearch.h b/clang/include/clang/Frontend/InitHeaderSearch.h index 48c426825262..34672c73eebc 100644 --- a/clang/include/clang/Frontend/InitHeaderSearch.h +++ b/clang/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/clang/lib/Frontend/InitHeaderSearch.cpp b/clang/lib/Frontend/InitHeaderSearch.cpp index ed52211e3807..6f87e033ea94 100644 --- a/clang/lib/Frontend/InitHeaderSearch.cpp +++ b/clang/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. -- GitLab