| /llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/Inputs/ |
| H A D | fake_yaml_db.yaml | 4 - ContextType: Namespace 6 - ContextType: Namespace 15 - ContextType: Namespace 17 - ContextType: Namespace 26 - ContextType: Namespace 28 - ContextType: Namespace 37 - ContextType: Namespace 39 - ContextType: Namespace 48 - ContextType: Namespace 50 - ContextType: Namespace [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-include-fixer/ |
| H A D | IncludeFixerTest.cpp | 65 {{SymbolInfo::ContextType::Namespace, "b"}, in runIncludeFixer() 66 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer() 69 {{SymbolInfo::ContextType::Namespace, "b"}, in runIncludeFixer() 70 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer() 73 {{SymbolInfo::ContextType::Namespace, "c"}, in runIncludeFixer() 74 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer() 78 {SymbolInfo::ContextType::Namespace, "b"}, in runIncludeFixer() 79 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer() 82 {{SymbolInfo::ContextType::Namespace, "__a"}, in runIncludeFixer() 83 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer() [all …]
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | Value.cpp | 182 case ContextType::Invalid: in ValueOf() 204 case ContextType::Invalid: in GetValueByteSize() 225 case ContextType::Invalid: in GetCompilerType() 231 case ContextType::LLDBType: { in GetCompilerType() 237 case ContextType::Variable: { in GetCompilerType() 262 case ContextType::Invalid: in GetValueDefaultFormat() 263 case ContextType::LLDBType: in GetValueDefaultFormat() 264 case ContextType::Variable: { in GetValueDefaultFormat() 634 case ContextType::Invalid: in GetContextTypeAsCString() 638 case ContextType::LLDBType: in GetContextTypeAsCString() [all …]
|
| H A D | ValueObjectVariable.cpp | 138 m_value.SetContext(Value::ContextType::Variable, variable); in UpdateValue() 142 m_resolved_value.SetContext(Value::ContextType::Invalid, nullptr); in UpdateValue() 165 m_value.SetContext(Value::ContextType::Variable, variable); in UpdateValue() 232 value.SetContext(Value::ContextType::Variable, variable); in UpdateValue() 245 m_resolved_value.SetContext(Value::ContextType::Invalid, nullptr); in UpdateValue() 350 if (m_resolved_value.GetContextType() == Value::ContextType::RegisterInfo) in GetLocationAsCString() 363 if (m_resolved_value.GetContextType() == Value::ContextType::RegisterInfo) { in SetValueFromCString() 392 if (m_resolved_value.GetContextType() == Value::ContextType::RegisterInfo) { in SetData()
|
| H A D | ValueObjectMemory.cpp | 60 m_value.SetContext(Value::ContextType::LLDBType, m_type_sp.get()); in ValueObjectMemory() 211 value.SetContext(Value::ContextType::LLDBType, m_type_sp.get()); in UpdateValue()
|
| H A D | ValueObjectRegister.cpp | 251 m_value.SetContext(Value::ContextType::RegisterInfo, in UpdateValue()
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | Value.h | 56 enum class ContextType { enum 87 ContextType GetContextType() const { return m_context_type; } in GetContextType() 93 m_context_type = ContextType::Invalid; in ClearContext() 96 void SetContext(ContextType context_type, void *p) { in SetContext() 99 if (m_context_type == ContextType::RegisterInfo) { in SetContext() 139 static const char *GetContextTypeAsCString(ContextType context_type); 153 ContextType m_context_type = ContextType::Invalid;
|
| H A D | EmulateInstruction.h | 99 enum ContextType { enum 185 ContextType type = eContextInvalid;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
| H A D | SymbolInfo.cpp | 16 using ContextType = clang::find_all_symbols::SymbolInfo::ContextType; typedef 37 template <> struct ScalarEnumerationTraits<ContextType> { 38 static void enumeration(IO &io, ContextType &value) { in enumeration() 39 io.enumCase(value, "Record", ContextType::Record); in enumeration() 40 io.enumCase(value, "Namespace", ContextType::Namespace); in enumeration() 41 io.enumCase(value, "EnumDecl", ContextType::EnumDecl); in enumeration() 89 if (Context.first == ContextType::EnumDecl) in getQualifiedName()
|
| H A D | SymbolInfo.h | 42 enum class ContextType { enum 49 typedef std::pair<ContextType, std::string> Context;
|
| H A D | FindAllSymbols.cpp | 58 Contexts.emplace_back(SymbolInfo::ContextType::Namespace, in GetContexts() 61 Contexts.emplace_back(SymbolInfo::ContextType::EnumDecl, in GetContexts() 65 Contexts.emplace_back(SymbolInfo::ContextType::Record, in GetContexts()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/ |
| H A D | merge.test | 7 - ContextType: Namespace 17 - ContextType: Namespace 27 - ContextType: Namespace
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/Inputs/merge/ |
| H A D | a.yaml | 4 - ContextType: Namespace 14 - ContextType: Namespace
|
| H A D | b.yaml | 4 - ContextType: Namespace 14 - ContextType: Namespace
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/ |
| H A D | FindAllSymbolsTests.cpp | 160 {{SymbolInfo::ContextType::Namespace, "na"}}); in TEST_F() 165 {{SymbolInfo::ContextType::Namespace, "nb"}, in TEST_F() 166 {SymbolInfo::ContextType::Namespace, "na"}}); in TEST_F() 224 {{SymbolInfo::ContextType::Namespace, "na"}}); in TEST_F() 229 {{SymbolInfo::ContextType::Record, "A"}, in TEST_F() 230 {SymbolInfo::ContextType::Namespace, "na"}}); in TEST_F()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | Diagnostics.h | 53 enum ContextType { enum 148 ContextType Type; 179 ArgStream pushContextFrame(ContextType Type, SourceRange Range);
|
| /llvm-project-15.0.7/lldb/source/DataFormatters/ |
| H A D | TypeFormat.cpp | 46 const Value::ContextType context_type = value.GetContextType(); in FormatObject() 50 if (context_type == Value::ContextType::RegisterInfo) { in FormatObject()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Diagnostics.cpp | 14 Diagnostics::ArgStream Diagnostics::pushContextFrame(ContextType Type, in pushContextFrame() 76 static StringRef contextTypeToFormatString(Diagnostics::ContextType Type) { in contextTypeToFormatString()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | DebugCrossImpSubsection.h | 38 using ContextType = void;
|
| H A D | DebugChecksumsSubsection.h | 43 using ContextType = void;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/ |
| H A D | SymbolIndexManager.cpp | 116 find_all_symbols::SymbolInfo::ContextType::EnumDecl) { in search()
|
| /llvm-project-15.0.7/lldb/include/lldb/Expression/ |
| H A D | ExpressionVariable.h | 51 Value::ContextType::RegisterInfo, const_cast<RegisterInfo *>(reg_info)); in SetRegisterInfo()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 102 QualType ContextType in computeDeclContext() local 110 if (Context.hasSameType(Injected, ContextType)) in computeDeclContext() 118 = ClassTemplate->findPartialSpecialization(ContextType)) { in computeDeclContext()
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | TokenAnnotator.cpp | 120 Contexts.back().ContextType = Context::TemplateArgument; in parseAngle() 300 Contexts.back().ContextType = Context::ForEachMacro; in parseParens() 583 Contexts.back().ContextType == Context::TemplateArgument); in parseSquare() 1200 switch (Contexts.back().ContextType) { in consumeToken() 1215 if (Contexts.back().ContextType == Context::ForEachMacro) in consumeToken() 1478 if (ctx.ContextType == Context::StructArrayInitializer) in parseLine() 1574 } ContextType = Unknown; member 1684 Contexts.back().ContextType = Context::CtorInitializer; in modifyContext() 1686 Contexts.back().ContextType = Context::InheritanceList; in modifyContext() 1694 Contexts.front().ContextType != Context::CtorInitializer) { in modifyContext() [all …]
|
| /llvm-project-15.0.7/lldb/source/Expression/ |
| H A D | FunctionCaller.cpp | 198 arg_value->GetContextType() == Value::ContextType::Invalid && in WriteFunctionArguments()
|