From 3bf4498407ce955210641f2bb23634901b48c5a7 Mon Sep 17 00:00:00 2001 From: Yaron Keren Date: Mon, 7 Jul 2014 09:52:31 +0000 Subject: [PATCH] PointerLoc does not exist anymore. SourceLocation is available from TypeLoc member functions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212447 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/Decl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 978c3c85ce..ce8b8b7dbc 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -52,8 +52,7 @@ class VarTemplateDecl; /// A client can read the relevant info using TypeLoc wrappers, e.g: /// @code /// TypeLoc TL = TypeSourceInfo->getTypeLoc(); -/// if (PointerLoc *PL = dyn_cast(&TL)) -/// PL->getStarLoc().print(OS, SrcMgr); +/// TL.getStartLoc().print(OS, SrcMgr); /// @endcode /// class TypeSourceInfo { -- 2.40.0