aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/DataStream.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-11-12 03:52:25 +0000
committerNico Weber <nicolasweber@gmx.de>2014-11-12 03:52:25 +0000
commit28309185b28034edc1b54c4e2a01c399f5097f28 (patch)
treed35334799de7cf1ba0fd80b563f0245c93aa2fa0 /llvm/lib/Support/DataStream.cpp
parentaa0117c628d8e3ccd0a3c055d8faaa01768389af (diff)
downloadllvm-28309185b28034edc1b54c4e2a01c399f5097f28.zip
llvm-28309185b28034edc1b54c4e2a01c399f5097f28.tar.gz
llvm-28309185b28034edc1b54c4e2a01c399f5097f28.tar.bz2
Mark TypeDecls used in member initializers as referenced.
Without this, -Wunused-local-typedef would incorrectly warn on the two typedefs in this program: void foo() { struct A {}; struct B : public A { typedef A INHERITED; B() : INHERITED() {} typedef B SELF; B(int) : SELF() {} }; } llvm-svn: 221765
Diffstat (limited to 'llvm/lib/Support/DataStream.cpp')
0 files changed, 0 insertions, 0 deletions