#include "clang/Analysis/IssueHash.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/LineIterator.h"
#include "llvm/Support/MD5.h"
#include <optional>
#include <sstream>
#include <string>
Go to the source code of this file.
◆ GetEnclosingDeclContextSignature()
| std::string GetEnclosingDeclContextSignature |
( |
const Decl * | EnclosingDecl | ) |
|
|
static |
◆ GetMD5HashOfContent()
◆ GetNthLineOfFile()
| StringRef GetNthLineOfFile |
( |
std::optional< llvm::MemoryBufferRef > | Buffer, |
|
|
int | Line ) |
|
static |
◆ GetSignature()
◆ NormalizeLine()
Definition at line 107 of file IssueHash.cpp.
References clang::SourceManager::getBufferOrNone(), 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(), and clang::SourceManager::translateLineCol().