diff options
Diffstat (limited to 'include/flang/Sema/DeclSpec.h')
-rw-r--r-- | include/flang/Sema/DeclSpec.h | 4 |
1 files changed, 1 insertions, 3 deletions
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 &) {} |