llvm::Optional<std::string> getQualifiedIdentifier() const;
};
-class ASTDiff {
-public:
- ASTDiff(SyntaxTree &Src, SyntaxTree &Dst, const ComparisonOptions &Options);
- ~ASTDiff();
-
- // Returns the ID of the node that is mapped to the given node in SourceTree.
- NodeId getMapped(const SyntaxTree &SourceTree, NodeId Id) const;
-
- class Impl;
-
-private:
- std::unique_ptr<Impl> DiffImpl;
-};
-
/// SyntaxTree objects represent subtrees of the AST.
/// They can be constructed from any Decl or Stmt.
class SyntaxTree {
}
};
+class ASTDiff {
+public:
+ ASTDiff(SyntaxTree &Src, SyntaxTree &Dst, const ComparisonOptions &Options);
+ ~ASTDiff();
+
+ // Returns the ID of the node that is mapped to the given node in SourceTree.
+ NodeId getMapped(const SyntaxTree &SourceTree, NodeId Id) const;
+
+ class Impl;
+
+private:
+ std::unique_ptr<Impl> DiffImpl;
+};
+
} // end namespace diff
} // end namespace clang