clang
15.0.0git
|
#include "clang/AST/ASTConsumer.h"
#include "clang/Lex/HeaderSearch.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/SemaInternal.h"
Go to the source code of this file.
Functions | |
static void | checkModuleImportContext (Sema &S, Module *M, SourceLocation ImportLoc, DeclContext *DC, bool FromInclude=false) |
static std::string | stringFromPath (ModuleIdPath Path) |
static const ExportDecl * | getEnclosingExportDecl (const Decl *D) |
Determine whether D is lexically within an export-declaration. More... | |
static bool | checkExportedDeclContext (Sema &S, DeclContext *DC, SourceLocation BlockStart) |
Check that it's valid to export all the declarations in DC . More... | |
static llvm::Optional< UnnamedDeclKind > | getUnnamedDeclKind (Decl *D) |
unsigned | getUnnamedDeclDiag (UnnamedDeclKind UDK, bool InBlock) |
static void | diagExportedUnnamedDecl (Sema &S, UnnamedDeclKind UDK, Decl *D, SourceLocation BlockStart) |
static bool | checkExportedDecl (Sema &S, Decl *D, SourceLocation BlockStart) |
Check that it's valid to export D . More... | |
|
static |
Check that it's valid to export D
.
Definition at line 819 of file SemaModule.cpp.
|
static |
Check that it's valid to export all the declarations in DC
.
Definition at line 869 of file SemaModule.cpp.
|
static |
Definition at line 22 of file SemaModule.cpp.
Referenced by clang::Sema::ActOnModuleBegin(), clang::Sema::ActOnModuleImport(), and clang::Sema::ActOnModuleInclude().
|
static |
Definition at line 810 of file SemaModule.cpp.
|
static |
Determine whether D
is lexically within an export-declaration.
Definition at line 460 of file SemaModule.cpp.
References clang::Decl::getLexicalDeclContext(), and clang::DeclContext::getLexicalParent().
Referenced by clang::Sema::ActOnModuleImport().
Definition at line 783 of file SemaModule.cpp.
|
static |
Definition at line 770 of file SemaModule.cpp.
|
static |
Definition at line 61 of file SemaModule.cpp.
References string().
Referenced by clang::Sema::ActOnModuleDecl(), and clang::Sema::ActOnModuleImport().