Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjj11 committed Oct 9, 2024
1 parent fbc2c36 commit 0f33e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/DPCT/ASTTraversal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ void IncludesCallbacks::MacroDefined(const Token &MacroNameTok,

// The "__noinline__" macro is re-defined by CUDA compiler.
// When it is used in "__attribute__()", we cannot replace it.
if (II->hasMacroDefinition() && (II->getName().str() == "__noinline__")) {
if (II->hasMacroDefinition() && (II->getName() == "__noinline__")) {
continue;
}

Expand Down

0 comments on commit 0f33e80

Please sign in to comment.