[flang] Added comment about gcc function cast workaround.

Original-commit: flang-compiler/f18@28bc021323
Reviewed-on: https://github.com/flang-compiler/f18/pull/767
This commit is contained in:
David Truby 2019-10-01 11:15:43 +01:00
parent c579118ce6
commit 98223835c0
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ class FoldingContext;
using TypeCode = unsigned char;
template<typename TR, typename... TA> using FuncPointer = TR (*)(TA...);
// This specific type signature prevents GCC complaining about function casts.
using GenericFunctionPointer = void (*) (void);
enum class PassBy { Ref, Val };