diff options
author | Michelle McDaniel <adiaaida@gmail.com> | 2016-08-09 09:59:01 -0700 |
---|---|---|
committer | Michelle McDaniel <adiaaida@gmail.com> | 2016-08-11 09:53:34 -0700 |
commit | ab7d6a8df73d3d89210a778338feaa9fedf4146a (patch) | |
tree | 4da1d793e3c5102a82398c5e8d560cf032f164a4 /src/jit/smcommon.cpp | |
parent | 7a84ab0f876d25464d1493c2d02de45da6f9da7e (diff) | |
download | coreclr-ab7d6a8df73d3d89210a778338feaa9fedf4146a.tar.gz coreclr-ab7d6a8df73d3d89210a778338feaa9fedf4146a.tar.bz2 coreclr-ab7d6a8df73d3d89210a778338feaa9fedf4146a.zip |
Prepare jit source for clang-tidy
In templates, clang-tidy will replace 0 with nullptr, but this is illegal
for primitive types. This change replaces 0 in two templated functions
with ZERO, which is defined to be 0 to avoid this issue.
Additioanlly, we need to conditionally define some macros for running
under __clang__ so they are found by clang-tidy.
Diffstat (limited to 'src/jit/smcommon.cpp')
0 files changed, 0 insertions, 0 deletions