Commit e0bb486c authored by Moritz Koenig's avatar Moritz Koenig
Browse files

Trying to ignore some more again

parent 7ed301c3
......@@ -767,7 +767,7 @@ bool HashVisitor::VisitBlockDecl(const BlockDecl *Node)
bool HashVisitor::VisitFunctionDecl(const FunctionDecl *Node){
//Ignore extern declarations
if(Node->getStorageClass() == StorageClass::SC_Extern || Node->getStorageClass() == StorageClass::SC_PrivateExtern){
if(Node->getStorageClass() == StorageClass::SC_Extern || Node->getStorageClass() == StorageClass::SC_PrivateExtern || !Node->hasBody()){
doNotHashThis = true;
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment