dkolsen-pgi wrote:

> Does https://mlir.llvm.org/docs/Dialects/Builtin/#fusedloc suit the situation 
> [of recording locations of macro expansions]?

Maybe?  Right now I think `FusedLoc` is used by ClangIR to represent a source 
range.  Maybe it also could be used for macro expansion locations.  I don't if 
there is a `FusedLoc` metadata convention for that.

That would be something we want to explore and implement in the ClangIR 
incubator project first.  It's not something I want to implement as part of an 
upstreaming change.


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

Reply via email to