You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the change ROCm/HIP#1372, all the blocks are not excluded from AST when -skip-excluded-preprocessor-conditional-blocks option is set. The corresponding change in clang: https://reviews.llvm.org/D66597.
The main idea is: if there is nothing to hipify in a particular false conditional block, then such block might be excluded from AST.
Such a callback in clang's preprocessor will be useful for the following main cases:
conditional branches with multiplatform code;
variables redefinition in conditional branches;
other cases, which may lead to syntactical errors.
The text was updated successfully, but these errors were encountered:
With the change ROCm/HIP#1372, all the blocks are not excluded from AST when
-skip-excluded-preprocessor-conditional-blocks
option is set. The corresponding change in clang: https://reviews.llvm.org/D66597.The main idea is: if there is nothing to hipify in a particular false conditional block, then such block might be excluded from AST.
Such a callback in clang's preprocessor will be useful for the following main cases:
The text was updated successfully, but these errors were encountered: