aboutsummaryrefslogtreecommitdiff
path: root/clang/.clang-format
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-01-15 21:24:55 +0000
committerReid Kleckner <rnk@google.com>2019-01-15 21:24:55 +0000
commitede93da6fe153e88e8272b71d766cee5fbc21a86 (patch)
tree11ed64b88418c4e8ec64a03b91ac9792065e98a8 /clang/.clang-format
parente6b1a3418dea10b5d5ef44f43f656058cf5b3f1c (diff)
[clang-cl] Alias /Zc:alignedNew[-] to -f[no-]aligned-allocation
Implements PR40180. clang-cl has one minor behavior difference with cl with this change. Clang allows the user to enable the C++17 feature of aligned allocation without enabling all of C++17, but MSVC will not call the aligned allocation overloads unless -std:c++17 is passed. While our behavior is technically incompatible, it would require making driver mode specific changes to match MSVC precisely, and clang's behavior is useful because it allows people to experiment with new C++17 features individually. Therefore, I plan to leave it as is. llvm-svn: 351249
Diffstat (limited to 'clang/.clang-format')
0 files changed, 0 insertions, 0 deletions