Re: [cfe-users] (bug?) ParsedAttr::getNumArgs() always return zero

2021-12-06 Thread Владимир Фролов via cfe-users
Thank you very much!I can use "__attribute__((size("w", "h")))" instead of [[mynamespace::size(w,h)]] for a while ) 02.12.2021, 21:06, "Aaron Ballman" :On Thu, Dec 2, 2021 at 12:48 PM David Blaikie wrote: I'm /guessing/ this API doesn't respond with attributes clang doesn't rec

[cfe-users] read an external file in a function/module pass

2021-12-06 Thread Bella V via cfe-users
Hello All, I have a custom function & module pass. I'm invoking these passes using OPT. I would like to read an external YAML file inside the pass. I could pass the file as a command-line argument to the OPT, I could not find the options available. Are there any options or is there another way