clang 19.0.0git
Namespaces | Functions
HeaderAnalysis.h File Reference
#include "clang/Basic/FileEntry.h"
#include "llvm/ADT/StringRef.h"
#include <optional>

Go to the source code of this file.


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


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.