|
clang 24.0.0git
|
#include "clang/ScalableStaticAnalysis/SourceTransformation/Transformations/CppBoundedBuffers.h"#include "clang/AST/ASTContext.h"#include "clang/AST/Decl.h"#include "clang/AST/DeclBase.h"#include "clang/AST/DeclCXX.h"#include "clang/AST/DynamicRecursiveASTVisitor.h"#include "clang/AST/Type.h"#include "clang/AST/TypeLoc.h"#include "clang/Basic/LangOptions.h"#include "clang/Basic/SourceLocation.h"#include "clang/Basic/SourceManager.h"#include "clang/Lex/Lexer.h"#include "clang/ScalableStaticAnalysis/Analyses/EntityPointerLevel/EntityPointerLevel.h"#include "clang/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.h"#include "clang/ScalableStaticAnalysis/Core/ASTEntityMapping.h"#include "clang/ScalableStaticAnalysis/Core/Model/EntityId.h"#include "clang/ScalableStaticAnalysis/Core/Model/EntityIdTable.h"#include "clang/ScalableStaticAnalysis/Core/Model/EntityName.h"#include "clang/ScalableStaticAnalysis/SourceTransformation/TransformationRegistry.h"#include "clang/Tooling/Core/Replacement.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallVector.h"#include <cassert>#include <map>#include <optional>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | clang |
| Top level wrappers for InstallAPI frontend operations. | |
| namespace | clang::ssaf |
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. | |
| static clang::ssaf::TransformationRegistry::Add< CppBoundedBuffers > | RegisterCppBoundedBuffers ("cpp-bounded-buffers", "Rewrites buffers into bounded types") |
Variables | |
| static constexpr llvm::StringLiteral | SkippedRuleId |
| volatile int | clang::ssaf::CppBoundedBuffersAnchorSource = 0 |
|
static |
|
staticconstexpr |
Definition at line 39 of file CppBoundedBuffers.cpp.