[clang] [clang] Prioritze decl comments from macro expansion site (PR #65481)

Ben Barham via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 11 15:16:29 PDT 2023


================
@@ -374,11 +374,10 @@ TEST(SourceCodeTest, getAssociatedRangeWithComments) {
 
   // Does not include comments when only the decl or the comment come from a
   // macro.
----------------
bnbarham wrote:

Comment isn't true any more. The comment on line 370 is also confusing to me, since... it isn't including the comment? Unless I'm missing something there.

https://github.com/llvm/llvm-project/pull/65481


More information about the cfe-commits mailing list