Thanks to visit codestin.com
Credit goes to clang.llvm.org

clang 22.0.0git
ModuleMapFile.cpp File Reference

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)

Detailed Description

This file handles parsing of modulemap files into a simple AST.

Definition in file ModuleMapFile.cpp.

Function Documentation

◆ dumpDecls()

◆ dumpExternModule()

void dumpExternModule ( const ExternModuleDecl & EMD,
llvm::raw_ostream & out,
int depth )
static

◆ dumpModule()

void dumpModule ( const ModuleDecl & MD,
llvm::raw_ostream & out,
int depth )
static