forked from OSchip/llvm-project
[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:
parent
c579118ce6
commit
98223835c0
|
@ -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 };
|
||||
|
|
Loading…
Reference in New Issue