Lines Matching defs:Std
124 std::vector<std::string> &Diagnostics) {
142 std::vector<std::string> &Funcs) {
286 std::tie(key, val) = configVals[i].split("=");
331 static std::shared_ptr<llvm::Regex>
335 std::string RegexError;
336 std::shared_ptr<llvm::Regex> Pattern = std::make_shared<llvm::Regex>(Val);
346 const std::vector<std::string> &Levels,
369 const std::vector<std::string> &Sanitizers,
408 llvm::consumeError(std::move(E));
412 std::unique_ptr<llvm::IndexedInstrProfReader> PGOReader =
413 std::move(ReaderOrErr.get());
703 Opts.LinkBitcodeFiles.push_back(std::make_pair(LinkFlags, A->getValue()));
1049 std::string &BlockName,
1053 std::string &UserInfo) {
1152 for (const std::string &Arg :
1154 std::string BlockName;
1158 std::string UserInfo;
1314 std::vector<std::string> Inputs = Args.getAllArgValues(OPT_INPUT);
1327 Opts.Inputs.emplace_back(std::move(Inputs[i]), IK);
1333 std::string CompilerInvocation::GetResourcesPath(const char *Argv0,
1335 std::string ClangExecutable =
1399 std::string Path = A->getValue();
1524 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1525 Opts.LineComment = Std.hasLineComments();
1526 Opts.C99 = Std.isC99();
1527 Opts.C11 = Std.isC11();
1528 Opts.CPlusPlus = Std.isCPlusPlus();
1529 Opts.CPlusPlus11 = Std.isCPlusPlus11();
1530 Opts.CPlusPlus14 = Std.isCPlusPlus14();
1531 Opts.CPlusPlus1z = Std.isCPlusPlus1z();
1532 Opts.Digraphs = Std.hasDigraphs();
1533 Opts.GNUMode = Std.isGNUMode();
1534 Opts.GNUInline = Std.isC89();
1535 Opts.HexFloats = Std.hasHexFloats();
1536 Opts.ImplicitInt = Std.hasImplicitInt();
1626 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1632 if (!(Std.isC89() || Std.isC99()))
1640 if (!Std.isCPlusPlus())
1651 if (!Std.isCPlusPlus())
1661 // -cl-std only applies for OpenCL language standards.
1662 // Override the -std option in this case.
1690 std::string VerSpec = llvm::to_string(Opts.OpenCLVersion / 100) +
1691 std::string(".") +
1843 // is specified, or -std is set to a conforming mode.
1945 std::sort(Opts.ModuleFeatures.begin(), Opts.ModuleFeatures.end());
2205 std::pair<StringRef, StringRef> Split = StringRef(A->getValue()).split(';');
2317 std::unique_ptr<OptTable> Opts(createDriverOptTable());
2400 std::string CompilerInvocation::getModuleHash() const {
2435 for (std::vector<std::pair<std::string, bool/*isUndef*/>>::const_iterator
2482 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> buffer =
2534 static std::atomic<unsigned> GraveYardSize;
2550 for (const std::string &File : CI.getHeaderSearchOpts().VFSOverlayFiles) {
2551 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> Buffer =
2559 std::move(Buffer.get()), /*DiagHandler*/ nullptr, File);