summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex <hypothermia.frost@gmail.com>2013-09-30 15:13:56 +0100
committerAlex <hypothermia.frost@gmail.com>2013-09-30 15:13:56 +0100
commitdd1d1a08448ab897c0d50e240ced2337399b912f (patch)
tree51a3123e770022c1537e591320ee825d3ba84036
parente0578d4bc2480bee7df0772b62d42eadc8120873 (diff)
downloadflang-dd1d1a08448ab897c0d50e240ced2337399b912f.tar.gz
Fixed DeclSpec::hasAttributes
-rw-r--r--include/flang/Sema/DeclSpec.h4
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 &) {}