From dd1d1a08448ab897c0d50e240ced2337399b912f Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 30 Sep 2013 15:13:56 +0100 Subject: Fixed DeclSpec::hasAttributes --- include/flang/Sema/DeclSpec.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/flang/Sema/DeclSpec.h b/include/flang/Sema/DeclSpec.h index 2c972f2048..6eaac2fb16 100644 --- a/include/flang/Sema/DeclSpec.h +++ b/include/flang/Sema/DeclSpec.h @@ -174,9 +174,7 @@ public: } bool hasAttributes() const { - return hasKindSelector() || hasLengthSelector() || - AttributeSpecs != 0 || IntentSpec != 0 || AccessSpec != 0 || - IsDoublePrecision != 0; + return AttributeSpecs != 0 || IntentSpec != 0 || AccessSpec != 0; } virtual void print(llvm::raw_ostream &) {} -- cgit v1.2.1