clang 24.0.0git
EntitySourceLocationExtractor.cpp File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DynamicRecursiveASTVisitor.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/ScalableStaticAnalysis/Analyses/SharedLexicalRepresentation/SharedLexicalRepresentation.h"
#include "clang/ScalableStaticAnalysis/Core/Model/EntityId.h"
#include "clang/ScalableStaticAnalysis/Core/TUSummary/ExtractorRegistry.h"
#include "clang/ScalableStaticAnalysis/Core/TUSummary/TUSummaryBuilder.h"
#include "clang/ScalableStaticAnalysis/Core/TUSummary/TUSummaryExtractor.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/IOSandbox.h"
#include "llvm/Support/Path.h"
#include <map>
#include <memory>
#include <optional>
#include <utility>
#include <vector>

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::ssaf

Functions

EntitySourceLocationsSummary clang::ssaf::buildEntitySourceLocationsSummary (std::vector< SourceLocationRecord > Locs)
static clang::ssaf::TUSummaryExtractorRegistry::Add< EntitySourceLocationExtractor > RegisterExtractor (EntitySourceLocationsSummary::Name, "Extract per-entity declaration source-locations")

Variables

volatile int clang::ssaf::EntitySourceLocationExtractorAnchorSource = 0

Function Documentation

◆ RegisterExtractor()

clang::ssaf::TUSummaryExtractorRegistry::Add< EntitySourceLocationExtractor > RegisterExtractor ( EntitySourceLocationsSummary::Name ,
"Extract per-entity declaration source-locations"  )
static