Teach getCXXRecordDeclForPointerType about references.
authorJordan Rose <jordan_rose@apple.com>
Wed, 3 Oct 2012 01:08:28 +0000 (01:08 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 3 Oct 2012 01:08:28 +0000 (01:08 +0000)
commit7bb26114006b4252089d33156b2d3f6bb8f0375b
treead391e740138f57c51de6a90e56cf58bdcd61212
parentc7b2aeebb707da53075188bdf71bac6072d18127
Teach getCXXRecordDeclForPointerType about references.

Then, rename it getPointeeCXXRecordDecl and give it a nice doc comment,
and actually use it.

No intended functionality change.

llvm-svn: 165077
clang/include/clang/AST/Type.h
clang/lib/AST/Type.cpp
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/StaticAnalyzer/Core/RegionStore.cpp