diff options
| author | Tareq A. Siraj <tareq.a.sriaj@intel.com> | 2013-03-28 16:06:59 +0000 |
|---|---|---|
| committer | Tareq A. Siraj <tareq.a.sriaj@intel.com> | 2013-03-28 16:06:59 +0000 |
| commit | c2aa348dd0ab28df2974f9c94c750277d04a5e8a (patch) | |
| tree | 05fba4734d27de1d6f337fd23397c65131102cf1 /compiler-rt/lib/tsan/rtl/tsan_flags.h | |
| parent | 01186359798e9a95b474c05b1e2239ab03b082c0 (diff) | |
| download | bcm5719-llvm-c2aa348dd0ab28df2974f9c94c750277d04a5e8a.tar.gz bcm5719-llvm-c2aa348dd0ab28df2974f9c94c750277d04a5e8a.zip | |
Allow users to specify NULL like macros to be replaced
-use-nullptr only replaced macro named NULL and ignored any user defined
macros that behaved like NULL. This patch introduces -user-null-macros
command line option to let users specify their custom NULL like macros.
- Added a -user-null-macros command line option that takes a
comma-separated list of user-defined macros to be replaced when using
the -use-nullptr transform.
- Added documentation.
- Updated testcase to reflect current behavior.
- Whitespace fixes.
Reviewers: revane, klimek, gribozavr
llvm-svn: 178243
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_flags.h')
0 files changed, 0 insertions, 0 deletions

