|
clang 24.0.0git
|
#include "SSAFAnalysesCommon.h"#include "clang/ScalableStaticAnalysis/Analyses/SharedLexicalRepresentation/SharedLexicalRepresentation.h"#include "clang/ScalableStaticAnalysis/Core/Serialization/JSONFormat.h"#include "llvm/Support/Error.h"#include "llvm/Support/JSON.h"#include "llvm/Support/Registry.h"#include <memory>#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) |
| llvm::ArrayRef< SourceLocationRecord > | clang::ssaf::getDeclLocations (const EntitySourceLocationsSummary &S) |
| static Object | sourceLocationRecordToJSON (const SourceLocationRecord &R) |
| static llvm::Expected< SourceLocationRecord > | sourceLocationRecordFromJSON (const Value &V) |
| static Object | serialize (const EntitySummary &ES, JSONFormat::EntityIdToJSONFn) |
| static llvm::Expected< std::unique_ptr< EntitySummary > > | deserialize (const Object &Data, EntityIdTable &, JSONFormat::EntityIdFromJSONFn) |
| static llvm::Registry< JSONFormat::FormatInfo >::Add< SharedLexicalRepresentationJSONFormatInfo > | RegisterSharedLexicalRepresentationJSONFormatInfo (EntitySourceLocationsSummary::Name, "JSON Format info for EntitySourceLocationsSummary") |
Variables | |
| static constexpr llvm::StringLiteral | DeclLocationsKey = "decl_locations" |
| static constexpr llvm::StringLiteral | FilePathKey = "file_path" |
| static constexpr llvm::StringLiteral | LineKey = "line" |
| static constexpr llvm::StringLiteral | ColumnKey = "column" |
| volatile int | clang::ssaf::SharedLexicalRepresentationJSONFormatAnchorSource = 0 |
|
static |
Definition at line 90 of file SharedLexicalRepresentationFormat.cpp.
References clang::ssaf::buildEntitySourceLocationsSummary(), clang::Data, DeclLocationsKey, clang::ssaf::makeSawButExpectedError(), sourceLocationRecordFromJSON(), and V.
|
static |
References clang::ssaf::EntitySourceLocationsSummary::Name.
|
static |
Definition at line 81 of file SharedLexicalRepresentationFormat.cpp.
References DeclLocationsKey, clang::ssaf::getDeclLocations(), and sourceLocationRecordToJSON().
|
static |
Definition at line 52 of file SharedLexicalRepresentationFormat.cpp.
References clang::Column, ColumnKey, FilePathKey, clang::Line, LineKey, clang::ssaf::makeSawButExpectedError(), and V.
Referenced by deserialize().
|
static |
Definition at line 45 of file SharedLexicalRepresentationFormat.cpp.
References ColumnKey, FilePathKey, and LineKey.
Referenced by serialize().
|
staticconstexpr |
Definition at line 43 of file SharedLexicalRepresentationFormat.cpp.
Referenced by sourceLocationRecordFromJSON(), and sourceLocationRecordToJSON().
|
staticconstexpr |
Definition at line 40 of file SharedLexicalRepresentationFormat.cpp.
Referenced by deserialize(), and serialize().
|
staticconstexpr |
Definition at line 41 of file SharedLexicalRepresentationFormat.cpp.
Referenced by sourceLocationRecordFromJSON(), and sourceLocationRecordToJSON().
|
staticconstexpr |
Definition at line 42 of file SharedLexicalRepresentationFormat.cpp.
Referenced by sourceLocationRecordFromJSON(), and sourceLocationRecordToJSON().