aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LockFileManager.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-06-12 23:03:48 +0000
committerReid Kleckner <reid@kleckner.net>2014-06-12 23:03:48 +0000
commit32506ed8be375ed3226adea8b507ad260dc3e31d (patch)
treedd1f31a11de299a3c4fec438f4030acbce5a612d /llvm/lib/Support/LockFileManager.cpp
parent02ae6902fa42b6914815b1b6371de12cef3677fa (diff)
downloadllvm-32506ed8be375ed3226adea8b507ad260dc3e31d.zip
llvm-32506ed8be375ed3226adea8b507ad260dc3e31d.tar.gz
llvm-32506ed8be375ed3226adea8b507ad260dc3e31d.tar.bz2
Recover from missing 'typename' in sizeof(T::InnerType)
Summary: 'sizeof' is a UnaryExprOrTypeTrait, and it can contain either a type or an expression. This change threads a RecoveryTSI parameter through the layers between TransformUnaryExprOrTypeTrait the point at which we look up the type. If lookup finds a single type result after instantiation, we now build TypeSourceInfo for it just like a normal transformation would. This fixes the last error in the hello world ATL app that I've been working with, and it now links and runs with clang. Please try it and file bugs! Reviewers: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4108 llvm-svn: 210855
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions