clang
10.0.0git
|
#include "clang/StaticAnalyzer/Core/IssueHash.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/Specifiers.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/LineIterator.h"
#include "llvm/Support/MD5.h"
#include "llvm/Support/Path.h"
#include <functional>
#include <sstream>
#include <string>
Go to the source code of this file.
Functions | |
static std::string | GetSignature (const FunctionDecl *Target) |
static std::string | GetEnclosingDeclContextSignature (const Decl *D) |
static StringRef | GetNthLineOfFile (const llvm::MemoryBuffer *Buffer, int Line) |
static std::string | NormalizeLine (const SourceManager &SM, FullSourceLoc &L, const LangOptions &LangOpts) |
static llvm::SmallString< 32 > | GetHashOfContent (StringRef Content) |
|
static |
Definition at line 87 of file IssueHash.cpp.
References clang::XRayInstrKind::Function, and GetSignature().
Referenced by GetHashOfContent().
|
static |
Definition at line 170 of file IssueHash.cpp.
References GetEnclosingDeclContextSignature(), clang::FullSourceLoc::getExpansionColumnNumber(), clang::GetIssueHash(), clang::GetIssueString(), NormalizeLine(), and SM.
|
static |
Definition at line 123 of file IssueHash.cpp.
References Line.
|
static |
Definition at line 30 of file IssueHash.cpp.
References clang::QualType::getAsString(), clang::FunctionDecl::getNumParams(), clang::FunctionDecl::getParamDecl(), clang::NamedDecl::getQualifiedNameAsString(), clang::FunctionDecl::getReturnType(), clang::FunctionDecl::getTemplateInstantiationPattern(), clang::ValueDecl::getType(), clang::QualType::getTypePtr(), clang::FunctionDecl::isVariadic(), clang::RQ_LValue, and clang::RQ_RValue.
Referenced by GetEnclosingDeclContextSignature().
|
static |
Definition at line 134 of file IssueHash.cpp.
Referenced by GetHashOfContent().