[AST][NFC] Update outdated comments in ASTStructuralEquivalence.cpp
This commit is contained in:
parent
4fdaac0e1e
commit
a49a41e785
|
@ -31,10 +31,9 @@
|
|||
// }
|
||||
// ```
|
||||
// Indeed, it has it's queue, which holds pairs of nodes, one from each graph,
|
||||
// this is the `DeclsToCheck` and it's pair is in `TentativeEquivalences`.
|
||||
// `TentativeEquivalences` also plays the role of the marking (`marked`)
|
||||
// functionality above, we use it to check whether we've already seen a pair of
|
||||
// nodes.
|
||||
// this is the `DeclsToCheck` member. `VisitedDecls` plays the role of the
|
||||
// marking (`marked`) functionality above, we use it to check whether we've
|
||||
// already seen a pair of nodes.
|
||||
//
|
||||
// We put in the elements into the queue only in the toplevel decl check
|
||||
// function:
|
||||
|
@ -57,11 +56,6 @@
|
|||
// doing. Thus, static implementation functions must not call the **member**
|
||||
// functions.
|
||||
//
|
||||
// So, now `TentativeEquivalences` plays two roles. It is used to store the
|
||||
// second half of the decls which we want to compare, plus it plays a role in
|
||||
// closing the recursion. On a long term, we could refactor structural
|
||||
// equivalency to be more alike to the traditional BFS.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/AST/ASTStructuralEquivalence.h"
|
||||
|
|
Loading…
Reference in New Issue