Searched refs:OptionType (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/ |
H A D | CheckerRegistryData.h | 45 StringRef OptionType; member 52 CmdLineOption(StringRef OptionType, StringRef OptionName, in CmdLineOption() 55 : OptionType(OptionType), OptionName(OptionName), in CmdLineOption() 59 assert((OptionType == "bool" || OptionType == "string" || in CmdLineOption() 60 OptionType == "int") && in CmdLineOption() 63 assert((OptionType != "bool" || in CmdLineOption() 69 assert((OptionType != "int" || !DefaultValStr.getAsInteger(0, Tmp)) && in CmdLineOption()
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | RefactoringOption.h | 53 template <typename OptionType> 54 std::shared_ptr<OptionType> createRefactoringOption() { in createRefactoringOption() 55 static_assert(std::is_base_of<RefactoringOption, OptionType>::value, in createRefactoringOption() 57 return std::make_shared<OptionType>(); in createRefactoringOption()
|
H A D | RefactoringActionRuleRequirements.h | 95 template <typename OptionType> 98 OptionRequirement() : Opt(createRefactoringOption<OptionType>()) {} in OptionRequirement() 105 Expected<typename OptionType::ValueType> 107 return static_cast<OptionType *>(Opt.get())->getValue(); in evaluate()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/ |
H A D | options_parser.cpp | 20 enum class OptionType : uint8_t { enum 35 void registerOption(const char *Name, const char *Desc, OptionType Type, 51 OptionType Type; 159 case OptionType::OT_bool: in setOptionToValue() 166 case OptionType::OT_int: in setOptionToValue() 186 OptionType Type, void *Var) { in registerOption() 199 parser->registerOption(#Name, Description, OptionType::OT_##Type, &o->Name); in registerGwpAsanOptions()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Frontend/ |
H A D | CheckerRegistry.h | 154 void addCheckerOption(StringRef OptionType, StringRef CheckerFullName, 171 void addPackageOption(StringRef OptionType, StringRef PackageFullName,
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmtAttr.cpp | 100 LoopHintAttr::OptionType Option; in handleLoopHintAttr() 103 auto SetHints = [&Option, &State](LoopHintAttr::OptionType O, in handleLoopHintAttr() 136 Option = llvm::StringSwitch<LoopHintAttr::OptionType>( in handleLoopHintAttr() 485 LoopHintAttr::OptionType Option = LH->getOption(); in CheckForIncompatibleAttributes()
|
H A D | SemaTemplateInstantiate.cpp | 2131 LoopHintAttr::OptionType Option = LH->getOption(); in TransformLoopHintAttr()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGLoopInfo.cpp | 621 LoopHintAttr::OptionType Option = LoopHintAttr::Unroll; in push()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Attr.td | 4135 let Args = [EnumArgument<"Option", "OptionType", /*is_string=*/false,
|