Timm =?utf-8?q?B├Ąder?= <tbae...@redhat.com>
Message-ID:
In-Reply-To: <llvm/llvm-project/pull/67961/cl...@github.com>


================
@@ -249,6 +248,11 @@ template <bool Signed> class IntegralAP final {
     R->V = A.V - B.V;
     return false; // Success!
   }
+
----------------
erichkeane wrote:

Is this template forward declared?  Either way, I think as none of the calls 
are dependent, this ends up being UB (As the lookup 'changes' between the 
declaration and the call).

All that to say: I think you just have to move this definition above its uses.

https://github.com/llvm/llvm-project/pull/67961
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to