[clang] [Clang][Comments] Attach comments to decl even if preproc directives are in between (PR #88367)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon May 13 05:48:42 PDT 2024
================
@@ -533,6 +533,8 @@ __rdtscp(unsigned int *__A) {
/// \see __rdpmc
#define _rdpmc(A) __rdpmc(A)
+;
----------------
AaronBallman wrote:
This is quite surprising; I'm guessing this is so that the previous comment does not associate with the function declared below, but this still feels pretty unclean.
https://github.com/llvm/llvm-project/pull/88367
More information about the cfe-commits
mailing list