aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/filesystem/operations.cpp
diff options
context:
space:
mode:
authorsstwcw <f0gukp2nk@protonmail.com>2022-09-10 19:28:37 +0000
committersstwcw <f0gukp2nk@protonmail.com>2022-09-16 13:30:46 +0000
commit2183fe2160fbcb754893e98829f2bff4d0fccfa3 (patch)
tree222e7f5466fb5366754d2066a05a5b04002e026b /libcxx/src/filesystem/operations.cpp
parentc9cffdde393f646acf62d6160e7fa6613e038508 (diff)
downloadllvm-2183fe2160fbcb754893e98829f2bff4d0fccfa3.zip
llvm-2183fe2160fbcb754893e98829f2bff4d0fccfa3.tar.gz
llvm-2183fe2160fbcb754893e98829f2bff4d0fccfa3.tar.bz2
[clang-format] Parse the else part of `#if 0`
Fixes https://github.com/llvm/llvm-project/issues/57539 Previously things outside of `#if` blocks were parsed as if only the first branch of the conditional compilation branch existed, unless the first condition is 0. In that case the outer parts would be parsed as if nothing inside the conditional parts existed. Now we use the second conditional branch if the first condition is 0. Reviewed By: owenpan Differential Revision: https://reviews.llvm.org/D133647
Diffstat (limited to 'libcxx/src/filesystem/operations.cpp')
0 files changed, 0 insertions, 0 deletions