[flang-commits] [flang] bc1a0c2 - [flang] Fix "latest-clang" build warnings
peter klausler via flang-commits
flang-commits at lists.llvm.org
Tue Oct 12 17:43:07 PDT 2021
Author: peter klausler
Date: 2021-10-12T17:42:59-07:00
New Revision: bc1a0c2c013799d69fff21a53696a2ad09026ab7
URL: https://github.com/llvm/llvm-project/commit/bc1a0c2c013799d69fff21a53696a2ad09026ab7
DIFF: https://github.com/llvm/llvm-project/commit/bc1a0c2c013799d69fff21a53696a2ad09026ab7.diff
LOG: [flang] Fix "latest-clang" build warnings
A recent patch to fix warnings from a Windows build regarding
inconsistent "struct" vs "class" usage missed a few code sites
and now the "latest-clang" build bot is also failing. This
patch should resolve those failing builds.
Added:
Modified:
flang/include/flang/Evaluate/expression.h
Removed:
################################################################################
diff --git a/flang/include/flang/Evaluate/expression.h b/flang/include/flang/Evaluate/expression.h
index 798aa3ec1105..f24750e4f094 100644
--- a/flang/include/flang/Evaluate/expression.h
+++ b/flang/include/flang/Evaluate/expression.h
@@ -882,10 +882,10 @@ FOR_EACH_INTRINSIC_KIND(extern template class ArrayConstructor, )
#define INSTANTIATE_EXPRESSION_TEMPLATES \
FOR_EACH_INTRINSIC_KIND(template class Expr, ) \
FOR_EACH_CATEGORY_TYPE(template class Expr, ) \
- FOR_EACH_INTEGER_KIND(template struct Relational, ) \
- FOR_EACH_REAL_KIND(template struct Relational, ) \
- FOR_EACH_CHARACTER_KIND(template struct Relational, ) \
- template struct Relational<SomeType>; \
+ FOR_EACH_INTEGER_KIND(template class Relational, ) \
+ FOR_EACH_REAL_KIND(template class Relational, ) \
+ FOR_EACH_CHARACTER_KIND(template class Relational, ) \
+ template class Relational<SomeType>; \
FOR_EACH_TYPE_AND_KIND(template class ExpressionBase, ) \
FOR_EACH_INTRINSIC_KIND(template class ArrayConstructorValues, ) \
FOR_EACH_INTRINSIC_KIND(template class ArrayConstructor, )
More information about the flang-commits
mailing list