diff options
| author | Yaron Keren <yaron.keren@gmail.com> | 2014-07-07 09:52:31 +0000 | 
|---|---|---|
| committer | Yaron Keren <yaron.keren@gmail.com> | 2014-07-07 09:52:31 +0000 | 
| commit | 4e9d3c3aee2e243c7314a959aa0f77eaf4662f68 (patch) | |
| tree | 6a4246bc7643c8c585b3eb9b2674f3235afa5568 | |
| parent | 889c71e90fc7246b138faf0fc181c5b25f305195 (diff) | |
| download | bcm5719-llvm-4e9d3c3aee2e243c7314a959aa0f77eaf4662f68.tar.gz bcm5719-llvm-4e9d3c3aee2e243c7314a959aa0f77eaf4662f68.zip  | |
PointerLoc does not exist anymore. 
SourceLocation is available from TypeLoc member functions.
llvm-svn: 212447
| -rw-r--r-- | clang/include/clang/AST/Decl.h | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h index 978c3c85cef..ce8b8b7dbcd 100644 --- a/clang/include/clang/AST/Decl.h +++ b/clang/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<PointerLoc>(&TL)) -///   PL->getStarLoc().print(OS, SrcMgr); +/// TL.getStartLoc().print(OS, SrcMgr);  /// @endcode  ///  class TypeSourceInfo {  | 

