clang 22.0.0git
|
This file handles parsing of modulemap files into a simple AST. More...
#include "clang/Lex/ModuleMapFile.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/Module.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/LexDiagnostic.h"
#include "clang/Lex/Lexer.h"
#include "clang/Lex/ModuleMap.h"
#include "llvm/ADT/STLExtras.h"
#include <optional>
Go to the source code of this file.
Functions | |
static void | dumpModule (const ModuleDecl &MD, llvm::raw_ostream &out, int depth) |
static void | dumpExternModule (const ExternModuleDecl &EMD, llvm::raw_ostream &out, int depth) |
static void | dumpDecls (ArrayRef< Decl > Decls, llvm::raw_ostream &out, int depth) |
This file handles parsing of modulemap files into a simple AST.
Definition in file ModuleMapFile.cpp.
Definition at line 1185 of file ModuleMapFile.cpp.
References dumpExternModule(), dumpModule(), clang::modulemap::HeaderDecl::Excluded, clang::if(), clang::Macro, clang::modulemap::ExcludeDecl::Module, clang::out, clang::modulemap::HeaderDecl::Path, clang::modulemap::HeaderDecl::Private, clang::modulemap::HeaderDecl::Textual, and clang::modulemap::HeaderDecl::Umbrella.
Referenced by dumpModule().
|
static |
Definition at line 1178 of file ModuleMapFile.cpp.
References clang::modulemap::ExternModuleDecl::Id, clang::out, and clang::modulemap::ExternModuleDecl::Path.
Referenced by clang::modulemap::ModuleMapFile::dump(), and dumpDecls().
|
static |
Definition at line 1251 of file ModuleMapFile.cpp.
References clang::modulemap::ModuleDecl::Decls, dumpDecls(), clang::modulemap::ModuleDecl::Id, and clang::out.
Referenced by clang::modulemap::ModuleMapFile::dump(), and dumpDecls().