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
Current implementation simply compares the text of definitions, instead of their semantic content and underlying types, which doesn't allow detecting cases like these:
The possible way for comparing statements (function bodies) is present here.
Problem: stored Stmt* pointers invalidate somewhere after clang::ast_matchers::MatchFinder::MatchCallback's void run(const clang::ast_matchers::MatchFinder::MatchResult &result) exit.
Maybe matchers are a wrong approach and I need to switch to other ways of traversing AST.
The text was updated successfully, but these errors were encountered:
Current implementation simply compares the text of definitions, instead of their semantic content and underlying types, which doesn't allow detecting cases like these:
The possible way for comparing statements (function bodies) is present here.
Problem: stored
Stmt*
pointers invalidate somewhere afterclang::ast_matchers::MatchFinder::MatchCallback
'svoid run(const clang::ast_matchers::MatchFinder::MatchResult &result)
exit.Maybe matchers are a wrong approach and I need to switch to other ways of traversing AST.
The text was updated successfully, but these errors were encountered: