Lines Matching refs:Std
114 /// ToArgsList - Helper class to create a list of std::strings.
116 std::vector<std::string> &Res;
118 explicit ToArgsList(std::vector<std::string> &Res) : Res(Res) {}
122 Res.push_back(std::string());
174 const std::pair<std::string, bool> &opt = Opts.CheckersControlList[i];
628 // FIXME: Need to set -std to get all the implicit options.
818 Res.push_back(std::string(Opts.Macros[i].second ? "-U" : "-D") +
883 void CompilerInvocation::toArgs(std::vector<std::string> &Res) {
1055 Opts.CheckersControlList.push_back(std::make_pair(checkers[i], enable));
1501 std::vector<std::string> Inputs = Args.getAllArgValues(OPT_INPUT);
1520 std::string CompilerInvocation::GetResourcesPath(const char *Argv0,
1668 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1669 Opts.BCPLComment = Std.hasBCPLComments();
1670 Opts.C99 = Std.isC99();
1671 Std.isC11();
1672 Opts.CPlusPlus = Std.isCPlusPlus();
1673 Opts.CPlusPlus0x = Std.isCPlusPlus0x();
1674 Opts.Digraphs = Std.hasDigraphs();
1675 Opts.GNUMode = Std.isGNUMode();
1676 Opts.GNUInline = !Std.isC99();
1677 Opts.HexFloats = Std.hasHexFloats();
1678 Opts.ImplicitInt = Std.hasImplicitInt();
1699 // is specified, or -std is set to a conforming mode.
1720 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1726 if (!(Std.isC89() || Std.isC99()))
1734 if (!Std.isCPlusPlus())
1739 if (!Std.isC99())
1744 if (!Std.isCPlusPlus())
2005 std::string OriginalFile =
2028 std::pair<StringRef,StringRef> Split =
2186 std::string CompilerInvocation::getModuleHash() const {
2217 std::vector<StringRef> MacroDefs;
2218 for (std::vector<std::pair<std::string, bool/*isUndef*/> >::const_iterator