clang  19.0.0git
Namespaces | Functions
HeaderAnalysis.cpp File Reference
#include "clang/Tooling/Inclusions/HeaderAnalysis.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Lex/HeaderSearch.h"

Go to the source code of this file.

Namespaces

 clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
 clang::tooling
 

Functions

bool clang::tooling::isSelfContainedHeader (FileEntryRef FE, const SourceManager &SM, const HeaderSearch &HeaderInfo)
 Returns true if the given physical file is a self-contained header. More...
 
bool clang::tooling::codeContainsImports (llvm::StringRef Code)
 This scans the given source code to see if it contains #import(s). More...
 
std::optional< llvm::StringRef > clang::tooling::parseIWYUPragma (const char *Text)
 If Text begins an Include-What-You-Use directive, returns it. More...