fix my previous commit
Change-Id: I287d99a46eda90718a3c4ec2c92f7b063babeb24
This commit is contained in:
@@ -269,7 +269,7 @@ bool UnusedMethods::VisitVarDecl( const VarDecl* varDecl )
|
||||
if (!recordDecl)
|
||||
return true;
|
||||
// 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())
|
||||
return true;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user