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,
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.