clang API Documentation
#include "ClangSACheckers.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/CallEvent.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
Go to the source code of this file.
Functions | |
static void | emitBug (CheckerContext &C, BuiltinBug &BT, const Expr *RetE, const Expr *TrackingE=nullptr) |
static void emitBug | ( | CheckerContext & | C, |
BuiltinBug & | BT, | ||
const Expr * | RetE, | ||
const Expr * | TrackingE = nullptr |
||
) | [static] |
Definition at line 81 of file ReturnUndefChecker.cpp.
References clang::ento::BugReport::addRange(), clang::ento::CheckerContext::emitReport(), clang::ento::CheckerContext::generateSink(), clang::ento::BuiltinBug::getDescription(), clang::Stmt::getSourceRange(), and clang::ento::bugreporter::trackNullOrUndefValue().