Searched refs:ODRHash (Results 1 - 11 of 11) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DODRHash.h1 //===-- ODRHash.h - Hashing to diagnose ODR failures ------------*- C++ -*-===//
10 /// This file contains the declaration of the ODRHash class, which calculates
34 // ODRHash is used to calculate a hash based on AST node contents that
37 // construct an ODRHash object, then call Add* methods over the nodes that
41 class ODRHash { class in namespace:clang
52 ODRHash() {} function in class:clang::ODRHash
H A DStmt.h51 class ODRHash;
1231 /// \param Hash an ODRHash object which will be called where pointers would
1233 void ProcessODRHash(llvm::FoldingSetNodeID &ID, ODRHash& Hash) const;
H A DDecl.h1839 unsigned ODRHash;
1913 /// Whether an ODRHash has been stored.
1916 /// State that an ODRHash has been stored.
2707 /// Returns ODRHash of the function. This value is calculated and
2711 /// Returns cached ODRHash of the function. This must have been previously
3512 /// Store the ODRHash after first calculation.
3515 unsigned ODRHash;
3553 /// True if a valid hash is stored in ODRHash.
H A DDeclCXX.h295 unsigned ODRHash = 0; member in struct:clang::CXXRecordDecl::DefinitionData
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DODRHash.cpp1 //===-- ODRHash.cpp - Hashing to diagnose ODR failures ----------*- C++ -*-===//
10 /// This file implements the ODRHash class, which calculates a hash based
15 #include "clang/AST/ODRHash.h"
24 void ODRHash::AddStmt(const Stmt *S) {
29 void ODRHash::AddIdentifierInfo(const IdentifierInfo *II) {
34 void ODRHash::AddDeclarationName(DeclarationName Name, bool TreatAsDecl) {
46 void ODRHash::AddDeclarationNameImpl(DeclarationName Name) {
109 void ODRHash::AddNestedNameSpecifier(const NestedNameSpecifier *NNS) {
138 void ODRHash::AddTemplateName(TemplateName Name) {
157 void ODRHash
[all...]
H A DDecl.cpp30 #include "clang/AST/ODRHash.h"
2788 DeclContext(DK), redeclarable_base(C), Body(), ODRHash(0),
3982 return ODRHash;
3987 return ODRHash;
3991 ODRHash = FT->getODRHash();
3992 return ODRHash;
3995 class ODRHash Hash;
3998 ODRHash = Hash.CalculateHash();
3999 return ODRHash;
4247 ODRHash
[all...]
H A DDeclCXX.cpp27 #include "clang/AST/ODRHash.h"
480 assert(hasDefinition() && "ODRHash only for records with definitions");
484 return DefinitionData->ODRHash;
487 ODRHash Hash;
490 DefinitionData->ODRHash = Hash.CalculateHash();
492 return DefinitionData->ODRHash;
1933 ODRHash SelfHash, OtherHash;
H A DStmtProfile.cpp21 #include "clang/AST/ODRHash.h"
165 ODRHash &Hash;
167 StmtProfilerWithoutPointers(llvm::FoldingSetNodeID &ID, ODRHash &Hash)
2137 class ODRHash &Hash) const {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp746 ED->ODRHash = Record.readInt();
881 FD->ODRHash = Record.readInt();
1678 Data.ODRHash = Record.readInt();
1800 if (D->getODRHash() != MergeDD.ODRHash) {
H A DASTReader.cpp35 #include "clang/AST/ODRHash.h"
9418 ODRHash Hash;
9782 if (!ODRHash::isWhitelistedDecl(D, FirstRecord))
9792 // This list should be the same Decl's as in ODRHash::isWhiteListedDecl
11194 if (!ODRHash::isWhitelistedDecl(D, FirstEnum))
/freebsd-11-stable/lib/clang/libclang/
H A DMakefile117 SRCS_MIN+= AST/ODRHash.cpp

Completed in 376 milliseconds