|
clang 24.0.0git
|
#include "clang/AST/Type.h"#include "clang/ScalableStaticAnalysis/SourceTransformation/Transformation.h"#include "llvm/ADT/SmallSet.h"#include "llvm/ADT/StringRef.h"#include <optional>#include <string>Go to the source code of this file.
Classes | |
| struct | clang::ssaf::ClassifyResult |
| The outcome of classifying a declared type against the reachable pointer levels of its entity: a bounded-type rewrite, or a report reason. More... | |
| class | clang::ssaf::CppBoundedBuffers |
Namespaces | |
| namespace | clang |
| Top level wrappers for InstallAPI frontend operations. | |
| namespace | clang::ssaf |
Enumerations | |
| enum class | clang::ssaf::BoundedType { clang::ssaf::Ptr , clang::ssaf::Array } |
| The bounded type a raw declarator is rewritten to. More... | |
| enum class | clang::ssaf::ReportReason { clang::ssaf::ArrayNotEndInBracket , clang::ssaf::DeclarationGroup , clang::ssaf::EmissionFailed , clang::ssaf::IncompleteArray , clang::ssaf::MacroExpansion , clang::ssaf::MultiDimensionalArray , clang::ssaf::MultiLevelPointer , clang::ssaf::NoInnerTypeLoc , clang::ssaf::NotPointerTypeEndWithStar , clang::ssaf::NotTransformed , clang::ssaf::PointerToArray , clang::ssaf::ReferenceToPointer , clang::ssaf::TrailingReturnType , clang::ssaf::UnexpectedLeadingQualifier , clang::ssaf::UnexpectedTrailingQualifier , clang::ssaf::UnnamableType } |
| Why a reachable declarator was reported instead of rewritten. More... | |
Functions | |
| llvm::StringRef | clang::ssaf::messageFor (ReportReason Reason) |
Returns the report message for Reason. | |
| ClassifyResult | clang::ssaf::classifyDeclType (QualType T, const llvm::SmallSet< unsigned, 4 > &ReachableLevels, const ASTContext &Ctx) |
Classifies the declared type T of a reachable entity. | |