[llvm] [llvm][Tablegen][llvm-tblgen] Added keyword #undef to llvm-tblgen (PR #69135)

zhao jiangtao via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 00:34:26 PDT 2023


whousemyname wrote:

> I have some concerns right now because this would technically allow to include the same TableGen file multiple times, which is something we've been recently discussing of taking advantage of forbidding, and making the `#include` basically `#include_once`.
> 
> I would rather make sure we close to the door to multiple include of the same file before accidentally opening it!

I am so sorry, I don't quite understand what you mean.
So is it still necessary to add the ‘#undef’ keyword?

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


More information about the llvm-commits mailing list