clang 22.0.0git
|
#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclObjC.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
#include "clang/StaticAnalyzer/Core/Checker.h"
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/raw_ostream.h"
#include <optional>
Go to the source code of this file.
Macros | |
#define | REGISTER_CHECKER(NAME, ADDITIONAL_PART) |
Typedefs | |
typedef llvm::ImmutableMap< SymbolRef, unsigned > | ErrorOutFlag |
Functions | |
static bool | IsNSError (QualType T, IdentifierInfo *II) |
static bool | IsCFError (QualType T, IdentifierInfo *II) |
static bool | hasReservedReturnType (const FunctionDecl *D) |
template<typename T> | |
static bool | hasFlag (SVal val, ProgramStateRef state) |
template<typename T> | |
static void | setFlag (ProgramStateRef state, SVal val, CheckerContext &C) |
static QualType | parameterTypeFromSVal (SVal val, CheckerContext &C) |
#define REGISTER_CHECKER | ( | NAME, | |
ADDITIONAL_PART ) |
Definition at line 304 of file NSErrorChecker.cpp.
typedef llvm::ImmutableMap<SymbolRef, unsigned> ErrorOutFlag |
Definition at line 165 of file NSErrorChecker.cpp.
|
static |
Definition at line 170 of file NSErrorChecker.cpp.
References clang::ento::SVal::getAsSymbol(), and clang::T.
Referenced by clang::driver::Driver::CreateOffloadingDeviceToolChains().
|
static |
Definition at line 99 of file NSErrorChecker.cpp.
References clang::FunctionDecl::getOverloadedOperator(), and clang::isa().
|
static |
Definition at line 288 of file NSErrorChecker.cpp.
References clang::Type::getAs(), clang::TypedefType::getDecl(), clang::NamedDecl::getIdentifier(), clang::PointerType::getPointeeType(), and clang::T.
|
static |
Definition at line 267 of file NSErrorChecker.cpp.
References clang::Type::getAs(), clang::ObjCObjectPointerType::getInterfaceDecl(), clang::PointerType::getPointeeType(), and clang::T.
|
static |
Definition at line 184 of file NSErrorChecker.cpp.
References clang::C, clang::ento::MemRegion::getAs(), clang::ento::SVal::getAs(), and X.
|
static |
Definition at line 178 of file NSErrorChecker.cpp.
References clang::C, clang::ento::SVal::getAsSymbol(), and clang::T.