9 #ifndef LLVM_CLANG_STATICANALYZER_CORE_ISSUE_HASH_H
10 #define LLVM_CLANG_STATICANALYZER_CORE_ISSUE_HASH_H
12 #include "llvm/ADT/SmallString.h"
39 FullSourceLoc &IssueLoc,
40 llvm::StringRef CheckerName,
41 llvm::StringRef BugType,
const Decl *D,
42 const LangOptions &LangOpts);
47 llvm::StringRef CheckerName, llvm::StringRef BugType,
48 const Decl *D,
const LangOptions &LangOpts);
llvm::SmallString< 32 > GetIssueHash(const SourceManager &SM, FullSourceLoc &IssueLoc, llvm::StringRef CheckerName, llvm::StringRef BugType, const Decl *D, const LangOptions &LangOpts)
Get an MD5 hash to help identify bugs.
std::string GetIssueString(const SourceManager &SM, FullSourceLoc &IssueLoc, llvm::StringRef CheckerName, llvm::StringRef BugType, const Decl *D, const LangOptions &LangOpts)
Get the string representation of issue hash.