clang
8.0.0
|
#include "clang/Lex/Preprocessor.h"
#include "clang/Lex/PreprocessorOptions.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/HeaderSearch.h"
#include "clang/Lex/LexDiagnostic.h"
#include "clang/Lex/MacroInfo.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
Go to the source code of this file.
Functions | |
static void | computeRelativePath (FileManager &FM, const DirectoryEntry *Dir, const FileEntry *File, SmallString< 128 > &Result) |
Compute the relative path that names the given file relative to the given directory. More... | |
static void | collectAllSubModulesWithUmbrellaHeader (const Module &Mod, SmallVectorImpl< const Module *> &SubMods) |
|
static |
Definition at line 257 of file PPLexerChange.cpp.
References computeRelativePath(), Diag(), End, clang::Module::DirectoryName::Entry, clang::Module::getFullModuleName(), clang::DirectoryEntry::getName(), clang::Module::getUmbrellaDir(), clang::Module::getUmbrellaHeader(), clang::ModuleMap::isHeaderInUnavailableModule(), and clang::Module::submodules().
Referenced by clang::Preprocessor::HandleEndOfFile().
|
static |
Compute the relative path that names the given file relative to the given directory.
Definition at line 199 of file PPLexerChange.cpp.
References clang::FileEntry::getDir(), clang::FileManager::getDirectory(), clang::DirectoryEntry::getName(), clang::FileEntry::getName(), and clang::Result.
Referenced by collectAllSubModulesWithUmbrellaHeader().