clang 20.0.0git
|
#include "Move.h"
#include "SmartPtr.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclarationName.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/Type.h"
#include "clang/Basic/LLVM.h"
#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.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/CallDescription.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/SVals.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/ErrorHandling.h"
#include <optional>
#include <string>
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::ento |
namespace | clang::ento::smartptr |
Variables | |
constexpr llvm::StringLiteral | STD_PTR_NAMES [] |
constexpr llvm::StringLiteral | BASIC_OSTREAM_NAMES [] = {"basic_ostream"} |
|
static |
Definition at line 225 of file SmartPtrModeling.cpp.
References clang::ento::MemRegion::canPrintPretty(), and clang::ento::MemRegion::printPretty().
|
static |
Definition at line 183 of file SmartPtrModeling.cpp.
References clang::C, and clang::Decl::isInStdNamespace().
Referenced by getInnerPointerType().
|
static |
Definition at line 215 of file SmartPtrModeling.cpp.
References clang::C, clang::Call, getInnerPointerType(), and clang::DeclContext::getParent().
|
static |
Definition at line 201 of file SmartPtrModeling.cpp.
References clang::C, and clang::Call.
|
static |
Definition at line 103 of file SmartPtrModeling.cpp.
Referenced by isStdBasicOstream(), and isStdSmartPtr().
Definition at line 269 of file SmartPtrModeling.cpp.
References clang::Call, isStdFunctionCall(), and clang::ento::smartptr::isStdSmartPtr().
Definition at line 244 of file SmartPtrModeling.cpp.
References BASIC_OSTREAM_NAMES, E, clang::Type::getAsCXXRecordDecl(), clang::Expr::getType(), and hasStdClassWithName().
Referenced by isStdOstreamOperatorCall().
Definition at line 249 of file SmartPtrModeling.cpp.
References clang::Call.
Referenced by isPotentiallyComparisionOpCall(), and isStdOstreamOperatorCall().
Definition at line 253 of file SmartPtrModeling.cpp.
References clang::Call, clang::FunctionDecl::getOverloadedOperator(), clang::FunctionDecl::isOverloadedOperator(), isStdBasicOstream(), isStdFunctionCall(), and isStdSmartPtr().
|
static |
Definition at line 115 of file SmartPtrModeling.cpp.
References hasStdClassWithName(), and STD_PTR_NAMES.
Referenced by isStdOstreamOperatorCall(), and isStdSmartPtr().
Definition at line 119 of file SmartPtrModeling.cpp.
References E, clang::Type::getAsCXXRecordDecl(), clang::Expr::getType(), and isStdSmartPtr().
|
static |
Definition at line 160 of file SmartPtrModeling.cpp.
References E.
|
static |
Definition at line 172 of file SmartPtrModeling.cpp.
|
constexpr |
Definition at line 242 of file SmartPtrModeling.cpp.
Referenced by isStdBasicOstream().
|
constexpr |
Definition at line 112 of file SmartPtrModeling.cpp.
Referenced by isStdSmartPtr().