Home
last modified time | relevance | path

Searched refs:ContextType (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/Inputs/
H A Dfake_yaml_db.yaml4 - 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 DIncludeFixerTest.cpp65 {{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 DValue.cpp182 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 DValueObjectVariable.cpp138 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 DValueObjectMemory.cpp60 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 DValueObjectRegister.cpp251 m_value.SetContext(Value::ContextType::RegisterInfo, in UpdateValue()
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DValue.h56 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 DEmulateInstruction.h99 enum ContextType { enum
185 ContextType type = eContextInvalid;
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/
H A DSymbolInfo.cpp16 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 DSymbolInfo.h42 enum class ContextType { enum
49 typedef std::pair<ContextType, std::string> Context;
H A DFindAllSymbols.cpp58 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 Dmerge.test7 - ContextType: Namespace
17 - ContextType: Namespace
27 - ContextType: Namespace
/llvm-project-15.0.7/clang-tools-extra/test/clang-include-fixer/Inputs/merge/
H A Da.yaml4 - ContextType: Namespace
14 - ContextType: Namespace
H A Db.yaml4 - ContextType: Namespace
14 - ContextType: Namespace
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/
H A DFindAllSymbolsTests.cpp160 {{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 DDiagnostics.h53 enum ContextType { enum
148 ContextType Type;
179 ArgStream pushContextFrame(ContextType Type, SourceRange Range);
/llvm-project-15.0.7/lldb/source/DataFormatters/
H A DTypeFormat.cpp46 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 DDiagnostics.cpp14 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 DDebugCrossImpSubsection.h38 using ContextType = void;
H A DDebugChecksumsSubsection.h43 using ContextType = void;
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DSymbolIndexManager.cpp116 find_all_symbols::SymbolInfo::ContextType::EnumDecl) { in search()
/llvm-project-15.0.7/lldb/include/lldb/Expression/
H A DExpressionVariable.h51 Value::ContextType::RegisterInfo, const_cast<RegisterInfo *>(reg_info)); in SetRegisterInfo()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp102 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 DTokenAnnotator.cpp120 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 DFunctionCaller.cpp198 arg_value->GetContextType() == Value::ContextType::Invalid && in WriteFunctionArguments()

12