clang 20.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

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  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.
 
bool clang::tooling::codeContainsImports (llvm::StringRef Code)
 This scans the given source code to see if it contains #import(s).
 
std::optional< llvm::StringRef > clang::tooling::parseIWYUPragma (const char *Text)
 If Text begins an Include-What-You-Use directive, returns it.