clang 20.0.0git
Classes | Namespaces | Functions
ModuleManager.cpp File Reference
#include "clang/Serialization/ModuleManager.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/LLVM.h"
#include "clang/Lex/HeaderSearch.h"
#include "clang/Lex/ModuleMap.h"
#include "clang/Serialization/GlobalModuleIndex.h"
#include "clang/Serialization/InMemoryModuleCache.h"
#include "clang/Serialization/ModuleFile.h"
#include "clang/Serialization/PCHContainerOperations.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/iterator.h"
#include "llvm/Support/Chrono.h"
#include "llvm/Support/DOTGraphTraits.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/GraphWriter.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/VirtualFileSystem.h"
#include <algorithm>
#include <cassert>
#include <memory>
#include <string>
#include <system_error>

Go to the source code of this file.

Classes

struct  llvm::GraphTraits< ModuleManager >
 
struct  llvm::DOTGraphTraits< ModuleManager >
 

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
 

Functions

static bool checkSignature (ASTFileSignature Signature, ASTFileSignature ExpectedSignature, std::string &ErrorStr)
 
static void updateModuleImports (ModuleFile &MF, ModuleFile *ImportedBy, SourceLocation ImportLoc)
 

Function Documentation

◆ checkSignature()

static bool checkSignature ( ASTFileSignature  Signature,
ASTFileSignature  ExpectedSignature,
std::string &  ErrorStr 
)
static

Definition at line 74 of file ModuleManager.cpp.

Referenced by clang::serialization::ModuleManager::addModule().

◆ updateModuleImports()

static void updateModuleImports ( ModuleFile MF,
ModuleFile ImportedBy,
SourceLocation  ImportLoc 
)
static