Kaydet (Commit) f3872352 authored tarafından Noel Grandin's avatar Noel Grandin

fix my previous commit

Change-Id: I287d99a46eda90718a3c4ec2c92f7b063babeb24
üst 07645b44
...@@ -269,7 +269,7 @@ bool UnusedMethods::VisitVarDecl( const VarDecl* varDecl ) ...@@ -269,7 +269,7 @@ bool UnusedMethods::VisitVarDecl( const VarDecl* varDecl )
if (!recordDecl) if (!recordDecl)
return true; return true;
// workaround clang-3.5 issue // workaround clang-3.5 issue
#if __clang_major__ < 3 || __clang_major__ == 3 && __clang_minor__ < 6 #if __clang_major__ > 3 || ( __clang_major__ == 3 && __clang_minor__ >= 6 )
if (!recordDecl->getTemplateInstantiationPattern()) if (!recordDecl->getTemplateInstantiationPattern())
return true; return true;
#endif #endif
......
Markdown is supported
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