[llvm-dev] Overriding macro values defined in source code
Tim Northover via llvm-dev
llvm-dev at lists.llvm.org
Wed May 1 03:18:01 PDT 2019
On Tue, 30 Apr 2019 at 22:28, Sudhindra kulkarni via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Is it possible to override the value of AVAL through the -D option?
> For eg is it possible to set the value of AVAL to 2 through -D in clang ?
This is more a question for the cfe-users list, but as far as I know
there's no way to prevent redefinitions in source files.
More information about the llvm-dev