clang 22.0.0git
UnsafeBufferUsage.h File Reference
#include "clang/AST/Decl.h"
#include "clang/AST/Expr.h"
#include "clang/AST/Stmt.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/Support/Debug.h"
#include <set>

Go to the source code of this file.

Classes

class  clang::VariableGroupsManager
class  clang::FixitStrategy
class  clang::UnsafeBufferUsageHandler
 The interface that lets the caller handle unsafe buffer usage analysis results by overriding this class's handle... methods. More...

Namespaces

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

Typedefs

using clang::VarGrpTy = std::vector<const VarDecl *>
using clang::VarGrpRef = ArrayRef<const VarDecl *>

Functions

void clang::checkUnsafeBufferUsage (const Decl *D, UnsafeBufferUsageHandler &Handler, bool EmitSuggestions)
bool clang::internal::anyConflict (const llvm::SmallVectorImpl< FixItHint > &FixIts, const SourceManager &SM)
std::set< const Expr * > clang::findUnsafePointers (const FunctionDecl *FD)