| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 103 Opts.C99 = Std.isC99(); in setLangDefaults() 104 Opts.C11 = Std.isC11(); in setLangDefaults() 105 Opts.C17 = Std.isC17(); in setLangDefaults() 106 Opts.C2x = Std.isC2x(); in setLangDefaults() 107 Opts.CPlusPlus = Std.isCPlusPlus(); in setLangDefaults() 108 Opts.CPlusPlus11 = Std.isCPlusPlus11(); in setLangDefaults() 113 Opts.GNUMode = Std.isGNUMode(); in setLangDefaults() 115 Opts.HexFloats = Std.hasHexFloats(); in setLangDefaults() 116 Opts.WChar = Std.isCPlusPlus(); in setLangDefaults() 117 Opts.Digraphs = Std.hasDigraphs(); in setLangDefaults() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/ |
| H A D | SIMDIntrinsicsCheck.cpp | 82 : ClangTidyCheck(Name, Context), Std(Options.get("Std", "")), in SIMDIntrinsicsCheck() 86 Options.store(Opts, "Std", Std); in storeOptions() 93 if (Std.empty()) in registerMatchers() 94 Std = getLangOpts().CPlusPlus20 ? "std" : "std::experimental"; in registerMatchers() 140 << SimdRegex.sub(SmallString<32>({Std, "::simd"}), in check() 141 StdRegex.sub(Std, New)); in check()
|
| H A D | SIMDIntrinsicsCheck.h | 36 llvm::SmallString<32> Std;
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | recovery.cpp | 4 namespace Std { // expected-note {{here}} namespace 9 inline namespace Std { // expected-error {{cannot be reopened as inline}} 11 } / end namespace Std // expected-error {{unqualified-id}} 13 Std::Important y;
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/ |
| H A D | cxx-templates-common.h | 13 namespace Std { 19 namespace Std {
|
| H A D | cxx-templates-b.h | 92 Std::f<int>();
|
| H A D | cxx-templates-a.h | 54 void InstantiateWithFriend(Std::WithFriend<int> wfi) {}
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | InterpolatingCompilationDatabase.cpp | 134 LangStandard::Kind Std = LangStandard::lang_unspecified; member 197 Std = *GivenStd; in TransferableCommand() 206 if (Type == types::TY_INVALID && Std != LangStandard::lang_unspecified) in TransferableCommand() 207 Type = toType(LangStandard::getLangStandardForKind(Std).getLanguage()); in TransferableCommand() 241 if (Std != LangStandard::lang_unspecified && foldType(TargetType) == Type) { in transferTo() 244 LangStandard::getLangStandardForKind(Std).getName()).str()); in transferTo()
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | Solaris.cpp | 95 const Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi); in ConstructJob() local 98 if (Std) { in ConstructJob() 99 HaveAnsi = Std->getOption().matches(options::OPT_ansi); in ConstructJob() 101 LangStd = LangStandard::getLangStandardForName(Std->getValue()); in ConstructJob()
|
| H A D | Clang.cpp | 5754 const Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi); in ConstructJob() local 5755 if (Std) { in ConstructJob() 5756 if (Std->getOption().matches(options::OPT_ansi)) in ConstructJob() 5762 Std->render(Args, CmdArgs); in ConstructJob() 5768 if (A != Std) in ConstructJob() 6512 Std = StdArg; in ConstructJob() 6526 Std = StdArg; in ConstructJob() 6595 Std && (Std->containsValue("c++2a") || Std->containsValue("c++20") || in ConstructJob() 6596 Std->containsValue("c++2b") || Std->containsValue("c++latest")); in ConstructJob()
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | cxx-templates.cpp | 172 bool testFriendInClassTemplate(Std::WithFriend<int> wfi) { in testFriendInClassTemplate() 235 namespace Std { namespace
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ShapeToStandard/ |
| H A D | ShapeToStandard.td | 9 // Defines Patterns to lower Shape ops to Std.
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | codegen-diff | 3 use Getopt::Std;
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/portability/ |
| H A D | simd-intrinsics.rst | 44 .. option:: Std
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 1005 NamespaceDecl *Std = S.getStdNamespace(); in buildStdNoThrowDeclRef() local 1006 assert(Std && "Should already be diagnosed"); in buildStdNoThrowDeclRef() 1010 if (!S.LookupQualifiedName(Result, Std)) { in buildStdNoThrowDeclRef()
|
| H A D | SemaDeclCXX.cpp | 1008 NamespaceDecl *Std = S.getStdNamespace(); in lookupStdTypeTraitMember() local 1009 if (!Std) in lookupStdTypeTraitMember() 1019 if (!S.LookupQualifiedName(Result, Std)) in lookupStdTypeTraitMember() 11295 if (auto Std = getStdNamespace()) { in lookupStdExperimentalNamespace() local 11298 if (!LookupQualifiedName(Result, Std) || in lookupStdExperimentalNamespace() 11522 NamespaceDecl *Std = S.getStdNamespace(); in LookupStdInitializerList() local 11523 if (!Std) { in LookupStdInitializerList() 11530 if (!S.LookupQualifiedName(Result, Std)) { in LookupStdInitializerList()
|
| H A D | SemaOverload.cpp | 12942 DeclContext *Std = SemaRef.getStdNamespace(); in DiagnoseTwoPhaseLookup() local 12947 if (Std && Std->Encloses(*it)) in DiagnoseTwoPhaseLookup()
|
| /llvm-project-15.0.7/llvm/include/llvm/Demangle/ |
| H A D | ItaniumDemangle.h | 2730 Node *Std = nullptr; in parseUnscopedName() local 2732 Std = make<NameType>("std"); in parseUnscopedName() 2733 if (Std == nullptr) in parseUnscopedName() 2745 else if (IsSubst && Std == nullptr) { in parseUnscopedName() 2753 if (Res == nullptr || Std != nullptr) { in parseUnscopedName() 2754 Res = getDerived().parseUnqualifiedName(State, Std, Module); in parseUnscopedName()
|
| /llvm-project-15.0.7/libcxxabi/src/demangle/ |
| H A D | ItaniumDemangle.h | 2730 Node *Std = nullptr; in parseUnscopedName() local 2732 Std = make<NameType>("std"); in parseUnscopedName() 2733 if (Std == nullptr) in parseUnscopedName() 2745 else if (IsSubst && Std == nullptr) { in parseUnscopedName() 2753 if (Res == nullptr || Std != nullptr) { in parseUnscopedName() 2754 Res = getDerived().parseUnqualifiedName(State, Std, Module); in parseUnscopedName()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 3599 const LangStandard &Std = LangStandard::getLangStandardForKind( in ParseLangArgs() local 3601 if (IsInputCompatibleWithStandard(IK, Std)) { in ParseLangArgs() 3603 Diag << Std.getName() << Std.getDescription(); in ParseLangArgs() 3621 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd); in ParseLangArgs() local 3622 if (!IsInputCompatibleWithStandard(IK, Std)) { in ParseLangArgs()
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Driver.cpp | 1325 const Arg *Std = Args.getLastArg(options::OPT_std_EQ); in BuildCompilation() local 1327 !Args.hasArg(options::OPT_fmodules) && Std && in BuildCompilation() 1328 (Std->containsValue("c++20") || Std->containsValue("c++2b") || in BuildCompilation() 1329 Std->containsValue("c++2a") || Std->containsValue("c++latest")); in BuildCompilation()
|
| /llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/ |
| H A D | TransferTest.cpp | 43 LangStandard::Kind Std = LangStandard::lang_cxx17, in runDataflow() argument 58 LangStandard::getLangStandardForKind(Std).getName())}), in runDataflow() 64 LangStandard::Kind Std = LangStandard::lang_cxx17, in runDataflow() argument 67 runDataflow(Code, Match, {ApplyBuiltinTransfer, {}}, Std, TargetFun); in runDataflow()
|
| /llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 504 const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd); in ParseLangArgs() local 505 Opts.LineComment = Std.hasLineComments(); in ParseLangArgs() 506 Opts.C99 = Std.isC99(); in ParseLangArgs() 507 Opts.CPlusPlus = Std.isCPlusPlus(); in ParseLangArgs() 508 Opts.CPlusPlus11 = Std.isCPlusPlus11(); in ParseLangArgs() 509 Opts.Digraphs = Std.hasDigraphs(); in ParseLangArgs() 510 Opts.GNUMode = Std.isGNUMode(); in ParseLangArgs() 511 Opts.GNUInline = !Std.isC99(); in ParseLangArgs() 512 Opts.HexFloats = Std.hasHexFloats(); in ParseLangArgs()
|
| /llvm-project-15.0.7/lldb/scripts/ |
| H A D | disasm-gdb-remote.pl | 432 use Getopt::Std;
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | MetadataTest.cpp | 2101 auto *Std = DISubroutineType::get(Context, Flags, in TEST_F() local 2106 EXPECT_EQ(Std, DISubroutineType::get( in TEST_F() 2110 EXPECT_NE(N, Std); in TEST_F() 2111 EXPECT_NE(Fast, Std); in TEST_F()
|