clang API Documentation

Functions
DependencyFile.cpp File Reference
#include "clang/Frontend/Utils.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Frontend/DependencyOutputOptions.h"
#include "clang/Frontend/FrontendDiagnostic.h"
#include "clang/Lex/DirectoryLookup.h"
#include "clang/Lex/LexDiagnostic.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Serialization/ASTReader.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for DependencyFile.cpp:

Go to the source code of this file.

Functions

static bool isSpecialFilename (StringRef Filename)
static void PrintFilename (raw_ostream &OS, StringRef Filename)

Function Documentation

static bool isSpecialFilename ( StringRef  Filename) [static]

Definition at line 117 of file DependencyFile.cpp.

Referenced by clang::DependencyCollector::sawDependency().

static void PrintFilename ( raw_ostream &  OS,
StringRef  Filename 
) [static]

PrintFilename - GCC escapes spaces, # and $, but apparently not ' or " or other scary characters.

Definition at line 294 of file DependencyFile.cpp.