Home
last modified time | relevance | path

Searched refs:ExternalSemaSource (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Sema/
H A DExternalSemaSourceTest.cpp28 class CompleteTypeDiagnoser : public clang::ExternalSemaSource {
94 class NamespaceTypoProvider : public clang::ExternalSemaSource {
136 class FunctionTypoProvider : public clang::ExternalSemaSource {
184 std::vector<clang::ExternalSemaSource *> Sources;
215 void PushSource(clang::ExternalSemaSource *Source) { in PushSource()
223 TEST(ExternalSemaSource, DiagCheck) { in TEST() argument
235 TEST(ExternalSemaSource, ExternalTypoCorrectionPrioritized) { in TEST() argument
250 TEST(ExternalSemaSource, ExternalTypoCorrectionOrdering) { in TEST() argument
269 TEST(ExternalSemaSource, ExternalDelayedTypoCorrection) { in TEST() argument
285 TEST(ExternalSemaSource, TryOtherTacticsBeforeDiagnosing) { in TEST() argument
[all …]
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DMultiplexExternalSemaSource.h38 class MultiplexExternalSemaSource : public ExternalSemaSource {
43 SmallVector<ExternalSemaSource *, 2> Sources; // doesn't own them.
53 MultiplexExternalSemaSource(ExternalSemaSource& s1, ExternalSemaSource& s2);
61 void addSource(ExternalSemaSource &source);
367 return ClassID == &ID || ExternalSemaSource::isA(ClassID); in isA()
H A DExternalSemaSource.h50 class ExternalSemaSource : public ExternalASTSource {
55 ExternalSemaSource() = default;
57 ~ExternalSemaSource() override;
H A DHLSLExternalSemaSource.h21 class HLSLExternalSemaSource : public ExternalSemaSource {
H A DSema.h360 ExternalSemaSource *ExternalSource;
824 typedef LazyVector<TypedefNameDecl *, ExternalSemaSource,
825 &ExternalSemaSource::ReadExtVectorDecls, 2, 2>
868 typedef LazyVector<VarDecl *, ExternalSemaSource,
869 &ExternalSemaSource::ReadTentativeDefinitions, 2, 2>
878 typedef LazyVector<const DeclaratorDecl *, ExternalSemaSource,
879 &ExternalSemaSource::ReadUnusedFileScopedDecls, 2, 2>
886 typedef LazyVector<CXXConstructorDecl *, ExternalSemaSource,
887 &ExternalSemaSource::ReadDelegatingConstructors, 2, 2>
1628 ExternalSemaSource* getExternalSource() const { return ExternalSource; } in getExternalSource()
[all …]
/llvm-project-15.0.7/clang/lib/Frontend/
H A DChainedIncludesSource.cpp30 class ChainedIncludesSourceImpl : public ExternalSemaSource {
60 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader) in ChainedIncludesSourceMembers()
63 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader;
73 IntrusiveRefCntPtr<ExternalSemaSource> FinalReader) in ChainedIncludesSource()
113 IntrusiveRefCntPtr<ExternalSemaSource> clang::createChainedIncludesSource( in createChainedIncludesSource()
114 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { in createChainedIncludesSource()
H A DFrontendAction.cpp939 IntrusiveRefCntPtr<ExternalSemaSource> source, FinalReader; in BeginSourceFile()
H A DCompilerInstance.cpp2287 IntrusiveRefCntPtr<ExternalSemaSource> ESS) { in setExternalSemaSource()
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DUtils.h40 class ExternalSemaSource; variable
188 IntrusiveRefCntPtr<ExternalSemaSource>
190 IntrusiveRefCntPtr<ExternalSemaSource> &Reader);
H A DCompilerInstance.h101 IntrusiveRefCntPtr<ExternalSemaSource> ExternalSemaSrc;
815 void setExternalSemaSource(IntrusiveRefCntPtr<ExternalSemaSource> ESS);
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h22 class ExternalASTSourceWrapper : public clang::ExternalSemaSource {
242 class SemaSourceWithPriorities : public clang::ExternalSemaSource {
246 llvm::SmallVector<clang::ExternalSemaSource *, 2> Sources;
252 SemaSourceWithPriorities(clang::ExternalSemaSource &high_quality_source, in SemaSourceWithPriorities()
253 clang::ExternalSemaSource &low_quality_source) { in SemaSourceWithPriorities()
260 void addSource(clang::ExternalSemaSource &source) { in addSource()
362 for (clang::ExternalSemaSource *S : Sources) { in CompleteType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DMultiplexExternalSemaSource.cpp22 MultiplexExternalSemaSource::MultiplexExternalSemaSource(ExternalSemaSource &s1, in MultiplexExternalSemaSource()
23 ExternalSemaSource &s2){ in MultiplexExternalSemaSource()
35 void MultiplexExternalSemaSource::addSource(ExternalSemaSource &source) { in addSource()
H A DSema.cpp271 if (ExternalSemaSource *ExternalSema in Initialize()
272 = dyn_cast_or_null<ExternalSemaSource>(Context.getExternalSource())) in Initialize()
472 if (ExternalSemaSource *ExternalSema in ~Sema()
473 = dyn_cast_or_null<ExternalSemaSource>(Context.getExternalSource())) in ~Sema()
545 void Sema::addExternalSource(ExternalSemaSource *E) { in addExternalSource()
2364 ExternalSemaSource::~ExternalSemaSource() {} in ~ExternalSemaSource()
2365 char ExternalSemaSource::ID;
2367 void ExternalSemaSource::ReadMethodPool(Selector Sel) { } in ReadMethodPool()
2368 void ExternalSemaSource::updateOutOfDateSelector(Selector Sel) { } in updateOutOfDateSelector()
2370 void ExternalSemaSource::ReadKnownNamespaces( in ReadKnownNamespaces()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DIncludeFixer.h48 llvm::IntrusiveRefCntPtr<ExternalSemaSource> unresolvedNameRecorder();
H A DIncludeFixer.cpp484 class IncludeFixer::UnresolvedNameRecorder : public ExternalSemaSource {
542 llvm::IntrusiveRefCntPtr<ExternalSemaSource>
/llvm-project-15.0.7/clang/unittests/Frontend/
H A DFrontendActionTest.cpp197 class TypoExternalSemaSource : public ExternalSemaSource {
234 TEST(ASTFrontendAction, ExternalSemaSource) { in TEST() argument
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DIncludeFixer.h85 class IncludeFixerSemaSource : public clang::ExternalSemaSource {
/llvm-project-15.0.7/clang/docs/
H A DHLSLSupport.rst86 HLSL's Sema implementation will also provide an ``ExternalSemaSource``. In DXC,
87 an ``ExternalSemaSource`` is used to provide definitions for HLSL built-in data
89 ``ExternalSemaSource`` to lazily complete data types, which is a **huge**
H A DPCHInternals.rst453 ``ExternalSemaSource``
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExternalASTSource.h61 friend class ExternalSemaSource; variable
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTReader.h345 public ExternalSemaSource,