Skip to content

Commit

Permalink
Update tools/ClangPlugin.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvassilev authored May 20, 2024
1 parent 2ee975c commit 13b5ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ClangPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ namespace clad {
// HandleTopLevelDecl can be called recursively in non-standard
// setup for code generation.
DiffRequest request = m_DiffRequestGraph.getNextToProcessNode();
while (request.Function != nullptr) {
while (request.Function) {
m_DiffRequestGraph.setCurrentProcessingNode(request);
ProcessDiffRequest(request);
m_DiffRequestGraph.markCurrentNodeProcessed();
Expand Down

0 comments on commit 13b5ce8

Please sign in to comment.