PointerLoc does not exist anymore.

SourceLocation is available from TypeLoc member functions.

llvm-svn: 212447
This commit is contained in:
Yaron Keren 2014-07-07 09:52:31 +00:00
parent 889c71e90f
commit 4e9d3c3aee
1 changed files with 1 additions and 2 deletions

View File

@ -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<PointerLoc>(&TL))
/// PL->getStarLoc().print(OS, SrcMgr);
/// TL.getStartLoc().print(OS, SrcMgr);
/// @endcode
///
class TypeSourceInfo {