Lines Matching defs:Std
114 static void addWarningArgs(ArgList &Args, std::vector<std::string> &Warnings) {
255 Opts.CheckersControlList.push_back(std::make_pair(checkers[i], enable));
270 std::tie(key, val) = configVals[i].split("=");
315 static std::shared_ptr<llvm::Regex>
319 std::string RegexError;
320 std::shared_ptr<llvm::Regex> Pattern = std::make_shared<llvm::Regex>(Val);
935 std::vector<std::string> Inputs = Args.getAllArgValues(OPT_INPUT);
954 std::string CompilerInvocation::GetResourcesPath(const char *Argv0,
1001 std::vector<std::string> ModuleMapFiles =
1135 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1136 Opts.LineComment = Std.hasLineComments();
1137 Opts.C99 = Std.isC99();
1138 Opts.C11 = Std.isC11();
1139 Opts.CPlusPlus = Std.isCPlusPlus();
1140 Opts.CPlusPlus11 = Std.isCPlusPlus11();
1141 Opts.CPlusPlus1y = Std.isCPlusPlus1y();
1142 Opts.CPlusPlus1z = Std.isCPlusPlus1z();
1143 Opts.Digraphs = Std.hasDigraphs();
1144 Opts.GNUMode = Std.isGNUMode();
1145 Opts.GNUInline = !Std.isC99();
1146 Opts.HexFloats = Std.hasHexFloats();
1147 Opts.ImplicitInt = Std.hasImplicitInt();
1182 // is specified, or -std is set to a conforming mode.
1251 CE = std::min(Components.size(), llvm::array_lengthof(VC));
1280 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1286 if (!(Std.isC89() || Std.isC99()))
1294 if (!Std.isCPlusPlus())
1299 if (!Std.isC99())
1304 if (!Std.isCPlusPlus())
1314 // -cl-std only applies for OpenCL language standards.
1315 // Override the -std option in this case.
1598 std::vector<std::string> Sanitizers = Args.getAllArgValues(OPT_fsanitize_EQ);
1697 std::pair<StringRef,StringRef> Split =
1794 std::unique_ptr<OptTable> Opts(createDriverOptTable());
1797 std::unique_ptr<InputArgList> Args(
1897 std::string CompilerInvocation::getModuleHash() const {
1929 for (std::vector<std::pair<std::string, bool/*isUndef*/> >::const_iterator
1967 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> buffer =
2019 static std::atomic<unsigned> GraveYardSize;
2035 for (const std::string &File : CI.getHeaderSearchOpts().VFSOverlayFiles) {
2036 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> Buffer =