clang  12.0.0git
Namespaces | Functions
ASTUtils.h File Reference
#include "clang/AST/Decl.h"
#include "llvm/ADT/APInt.h"
#include "llvm/Support/Casting.h"
#include <string>
#include <utility>
Include dependency graph for ASTUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 clang
 Dataflow Directional Tag Classes.
 

Functions

std::pair< const Expr *, boolclang::tryToFindPtrOrigin (const clang::Expr *E, bool StopAtFirstRefCountedObj)
 This function de-facto defines a set of transformations that we consider safe (in heuristical sense). More...
 
bool clang::isASafeCallArg (const clang::Expr *E)
 For E referring to a ref-countable/-counted pointer/reference we return whether it's a safe call argument. More...
 
template<typename T >
std::string clang::safeGetName (const T *ASTNode)