forked from OSchip/llvm-project
[ODRHash] Disable hashing on methods.
Turn off hashing for class methods, but leave it on for other functions. This should get the buildbot to green for the time being. llvm-svn: 321396
This commit is contained in:
parent
e6caa26e5d
commit
fb59856a4e
|
@ -476,6 +476,9 @@ void ODRHash::AddFunctionDecl(const FunctionDecl *Function) {
|
|||
if (!Function->hasBody()) return;
|
||||
if (!Function->getBody()) return;
|
||||
|
||||
// TODO: Fix hashing for class methods.
|
||||
if (isa<CXXMethodDecl>(Function)) return;
|
||||
|
||||
// Skip functions that are specializations or in specialization context.
|
||||
const DeclContext *DC = Function;
|
||||
while (DC) {
|
||||
|
|
Loading…
Reference in New Issue