Home | History | Annotate | Download | only in Frontend

Lines Matching refs:Std

121                               std::vector<std::string> &Diagnostics) {
269 std::tie(key, val) = configVals[i].split("=");
314 static std::shared_ptr<llvm::Regex>
318 std::string RegexError;
319 std::shared_ptr<llvm::Regex> Pattern = std::make_shared<llvm::Regex>(Val);
329 const std::vector<std::string> &Levels,
352 const std::vector<std::string> &Sanitizers,
584 Opts.LinkBitcodeFiles.push_back(std::make_pair(LinkFlags, A->getValue()));
877 std::string &BlockName,
881 std::string &UserInfo) {
988 for (const std::string &Arg :
990 std::string BlockName;
994 std::string UserInfo;
1147 std::vector<std::string> Inputs = Args.getAllArgValues(OPT_INPUT);
1160 Opts.Inputs.emplace_back(std::move(Inputs[i]), IK);
1166 std::string CompilerInvocation::GetResourcesPath(const char *Argv0,
1168 std::string ClangExecutable =
1329 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1330 Opts.LineComment = Std.hasLineComments();
1331 Opts.C99 = Std.isC99();
1332 Opts.C11 = Std.isC11();
1333 Opts.CPlusPlus = Std.isCPlusPlus();
1334 Opts.CPlusPlus11 = Std.isCPlusPlus11();
1335 Opts.CPlusPlus14 = Std.isCPlusPlus14();
1336 Opts.CPlusPlus1z = Std.isCPlusPlus1z();
1337 Opts.Digraphs = Std.hasDigraphs();
1338 Opts.GNUMode = Std.isGNUMode();
1339 Opts.GNUInline = Std.isC89();
1340 Opts.HexFloats = Std.hasHexFloats();
1341 Opts.ImplicitInt = Std.hasImplicitInt();
1416 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
1422 if (!(Std.isC89() || Std.isC99()))
1430 if (!Std.isCPlusPlus())
1435 if (!Std.isC99())
1441 if (!Std.isCPlusPlus())
1451 // -cl-std only applies for OpenCL language standards.
1452 // Override the -std option in this case.
1615 // is specified, or -std is set to a conforming mode.
1716 std::sort(Opts.ModuleFeatures.begin(), Opts.ModuleFeatures.end());
1894 std::pair<StringRef, StringRef> Split = StringRef(A->getValue()).split(';');
1991 std::unique_ptr<OptTable> Opts(createDriverOptTable());
2101 std::string CompilerInvocation::getModuleHash() const {
2136 for (std::vector<std::pair<std::string, bool/*isUndef*/>>::const_iterator
2180 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> buffer =
2232 static std::atomic<unsigned> GraveYardSize;
2248 for (const std::string &File : CI.getHeaderSearchOpts().VFSOverlayFiles) {
2249 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> Buffer =
2257 vfs::getVFSFromYAML(std::move(Buffer.get()), /*DiagHandler*/ nullptr);