#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/SmallVector.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.
static std::string GetEnclosingDeclContextSignature |
( |
const Decl * |
D | ) |
|
|
static |
static StringRef GetNthLineOfFile |
( |
llvm::MemoryBuffer * |
Buffer, |
|
|
int |
Line |
|
) |
| |
|
static |
static std::string GetSignature |
( |
const FunctionDecl * |
Target | ) |
|
|
static |
Definition at line 129 of file IssueHash.cpp.
References Buffer, clang::SourceManager::getBuffer(), clang::SourceManager::getCharacterData(), clang::FullSourceLoc::getExpansionLineNumber(), clang::FullSourceLoc::getFileID(), clang::SourceManager::getFileID(), clang::Token::getLength(), clang::Token::getLocation(), clang::SourceManager::getLocForStartOfFile(), GetNthLineOfFile(), clang::Token::isAtStartOfLine(), clang::Lexer::LexFromRawLexer(), Token, clang::SourceManager::translateLineCol(), and Whitespaces.