forked from OSchip/llvm-project
parent
e4edb8e818
commit
3cfb28a68d
|
@ -125,7 +125,6 @@ int main(int argc, char **argv) {
|
|||
|
||||
if (Point.D) {
|
||||
llvm::raw_ostream &OS = llvm::outs();
|
||||
assert(Point.D && "If no node was found we should have exited with error");
|
||||
OS << "Declaration node at point: " << Point.D->getDeclKindName() << " ";
|
||||
if (NamedDecl *ND = dyn_cast<NamedDecl>(Point.D))
|
||||
OS << ND->getNameAsString();
|
||||
|
|
Loading…
Reference in New Issue