clang: lib/Frontend/HeaderIncludeGen.cpp File Reference (original) (raw)
#include "[clang/Frontend/DependencyOutputOptions.h](DependencyOutputOptions%5F8h%5Fsource.html)"
#include "[clang/Frontend/Utils.h](Frontend%5F2Utils%5F8h%5Fsource.html)"
#include "[clang/Basic/SourceManager.h](SourceManager%5F8h%5Fsource.html)"
#include "[clang/Frontend/FrontendDiagnostic.h](FrontendDiagnostic%5F8h%5Fsource.html)"
#include "[clang/Lex/Preprocessor.h](Preprocessor%5F8h%5Fsource.html)"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/JSON.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Functions | |
---|---|
static void | PrintHeaderInfo (raw_ostream *OutputFile, StringRef Filename, bool ShowDepth, unsigned CurrentIncludeDepth, bool MSStyle) |
static bool | shouldRecordNewFile (SrcMgr::CharacteristicKind NewFileType, SourceLocation PrevLoc, SourceManager &SM) |
Determine whether the header file should be recorded. | |
◆ PrintHeaderInfo()
static void PrintHeaderInfo ( raw_ostream * OutputFile, StringRef Filename, bool ShowDepth, unsigned CurrentIncludeDepth, bool MSStyle ) | static |
---|
◆ shouldRecordNewFile()
Determine whether the header file should be recorded.
The header file should be recorded only if the header file is a system header and the current file isn't a system header.
Definition at line 291 of file HeaderIncludeGen.cpp.
References clang::SrcMgr::isSystem(), and SM.