An abstract interface that should be implemented by external AST sources that also provide information for semantic analysis. More...
#include "clang/Sema/ExternalSemaSource.h"
T
.
An abstract interface that should be implemented by external AST sources that also provide information for semantic analysis.
Definition at line 50 of file ExternalSemaSource.h.
◆ ExternalSemaSource() clang::ExternalSemaSource::ExternalSemaSource ( ) default ◆ ~ExternalSemaSource() ExternalSemaSource::~ExternalSemaSource ( ) overrideDefinition at line 2473 of file Sema.cpp.
◆ AssignedLambdaNumbering() virtual void clang::ExternalSemaSource::AssignedLambdaNumbering ( CXXRecordDecl * Lambda ) inlinevirtual ◆ classof() ◆ CorrectTypo()Try to "correct" a typo in the source code by finding visible declarations whose names are similar to the name that was present in the source code.
DeclarationNameInfo
structure that contains the name that was present in the source code along with its location. LookupKind the name-lookup criteria used to search for the name. S the scope in which name lookup occurs. SS the nested-name-specifier that precedes the name we're looking for, if present. CCC A CorrectionCandidateCallback object that provides further validation of typo correction candidates. It also provides flags for determining the set of keywords permitted. MemberContext if non-NULL, the context in which to look for a member access expression. EnteringContext whether we're entering the context described by the nested-name-specifier SS. OPT when non-NULL, the search for visible declarations will also walk the protocols in the qualified interfaces of OPT
.
TypoCorrection
containing the corrected name if the typo along with information such as the NamedDecl
where the corrected name was declared, and any additional NestedNameSpecifier
needed to access it (C++ only). The TypoCorrection
is empty if there is no correction.
ExternalSemaSource::CorrectTypo is always given the first chance to correct a typo (really, to offer suggestions to repair a failed lookup). It will even be called when SpellChecking is turned off or after a fatal error has already been detected.
Reimplemented in clang::MultiplexExternalSemaSource.
Definition at line 210 of file ExternalSemaSource.h.
◆ ForgetSema() virtual void clang::ExternalSemaSource::ForgetSema ( ) inlinevirtual ◆ InitializeSema() virtual void clang::ExternalSemaSource::InitializeSema ( Sema & S ) inlinevirtual ◆ isA() bool clang::ExternalSemaSource::isA ( const void * ClassID ) const inlineoverridevirtual ◆ LookupUnqualified() ◆ MaybeDiagnoseMissingCompleteType()Produces a diagnostic note if the external source contains a complete definition for T
.
QualType
that should have been complete at Loc
Reimplemented in clang::MultiplexExternalSemaSource.
Definition at line 228 of file ExternalSemaSource.h.
◆ ReadDeclsToCheckForDeferredDiags()Read the set of decls to be checked for deferred diags.
The external source should append its own potentially emitted function and variable decls which may cause deferred diags. Note that this routine may be invoked multiple times; the external source should take care not to introduce the same declarations repeatedly.
Reimplemented in clang::MultiplexExternalSemaSource, and clang::ASTReader.
Definition at line 201 of file ExternalSemaSource.h.
◆ ReadDelegatingConstructors()Read the set of delegating constructors known to the external Sema source.
The external source should append its own delegating constructors to the given vector of declarations. Note that this routine may be invoked multiple times; the external source should take care not to introduce the same declarations repeatedly.
Reimplemented in clang::MultiplexExternalSemaSource, and clang::ASTReader.
Definition at line 125 of file ExternalSemaSource.h.
◆ ReadExtVectorDecls()Read the set of ext_vector type declarations known to the external Sema source.
The external source should append its own ext_vector type declarations to the given vector of declarations. Note that this routine may be invoked multiple times; the external source should take care not to introduce the same declarations repeatedly.
Reimplemented in clang::MultiplexExternalSemaSource, and clang::ASTReader.
Definition at line 135 of file ExternalSemaSource.h.
◆ ReadKnownNamespaces() ◆ ReadLateParsedTemplates() virtual void clang::ExternalSemaSource::ReadLateParsedTemplates ( llvm::MapVector< const FunctionDecl *, std::unique_ptr< LateParsedTemplate > > & LPTMap ) inlinevirtualRead the set of late parsed template functions for this source.
The external source should insert its own late parsed template functions into the map. Note that this routine may be invoked multiple times; the external source should take care not to introduce the same map entries repeatedly.
Reimplemented in clang::MultiplexExternalSemaSource, and clang::ASTReader.
Definition at line 190 of file ExternalSemaSource.h.
◆ ReadMethodPool() void ExternalSemaSource::ReadMethodPool ( Selector Sel ) virtual ◆ ReadMismatchingDeleteExpressions() ◆ ReadPendingInstantiations()Read the set of pending instantiations known to the external Sema source.
The external source should append its own pending instantiations to the given vector. Note that this routine may be invoked multiple times; the external source should take care not to introduce the same instantiations repeatedly.
Reimplemented in clang::MultiplexExternalSemaSource, and clang::ASTReader.
Definition at line 180 of file ExternalSemaSource.h.
◆ ReadReferencedSelectors()Read the set of referenced selectors known to the external Sema source.
The external source should append its own referenced selectors to the given vector of selectors. Note that this routine may be invoked multiple times; the external source should take care not to introduce the same selectors repeatedly.
Reimplemented in clang::MultiplexExternalSemaSource, and clang::ASTReader.
Definition at line 153 of file ExternalSemaSource.h.
◆ ReadTentativeDefinitions() virtual void clang::ExternalSemaSource::ReadTentativeDefinitions ( SmallVectorImpl< VarDecl * > & TentativeDefs ) inlinevirtualRead the set of tentative definitions known to the external Sema source.
The external source should append its own tentative definitions to the given vector of tentative definitions. Note that this routine may be invoked multiple times; the external source should take care not to introduce the same declarations repeatedly.
Reimplemented in clang::MultiplexExternalSemaSource, and clang::ASTReader.
Definition at line 105 of file ExternalSemaSource.h.
◆ ReadUndefinedButUsed() ◆ ReadUnusedFileScopedDecls()Read the set of unused file-scope declarations known to the external Sema source.
The external source should append its own unused, filed-scope to the given vector of declarations. Note that this routine may be invoked multiple times; the external source should take care not to introduce the same declarations repeatedly.
Reimplemented in clang::MultiplexExternalSemaSource, and clang::ASTReader.
Definition at line 115 of file ExternalSemaSource.h.
◆ ReadUnusedLocalTypedefNameCandidates()Read the set of potentially unused typedefs known to the source.
The external source should append its own potentially unused local typedefs to the given vector of declarations. Note that this routine may be invoked multiple times; the external source should take care not to introduce the same declarations repeatedly.
Reimplemented in clang::MultiplexExternalSemaSource, and clang::ASTReader.
Definition at line 143 of file ExternalSemaSource.h.
◆ ReadUsedVTables()Read the set of used vtables known to the external Sema source.
The external source should append its own used vtables to the given vector. Note that this routine may be invoked multiple times; the external source should take care not to introduce the same vtables repeatedly.
Reimplemented in clang::MultiplexExternalSemaSource, and clang::ASTReader.
Definition at line 171 of file ExternalSemaSource.h.
◆ ReadWeakUndeclaredIdentifiers()Read the set of weak, undeclared identifiers known to the external Sema source.
The external source should append its own weak, undeclared identifiers to the given vector. Note that this routine may be invoked multiple times; the external source should take care not to introduce the same identifiers repeatedly.
Reimplemented in clang::ASTReader, and clang::MultiplexExternalSemaSource.
Definition at line 163 of file ExternalSemaSource.h.
◆ updateOutOfDateSelector() void ExternalSemaSource::updateOutOfDateSelector ( Selector Sel ) virtualThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4