commit | b862b8f93424a583fc912ab37bbbac1c231e852e | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Jan 11 23:29:10 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Jan 11 23:29:10 2010 +0000 |
tree | 00b401583042dff74909567a32489c7167e05b4f | |
parent | af40776922bc5c28e740adb0342faa09f35b0068 [diff] |
Eliminate an embarrassing performance regression in C/ObjC, where we were performing name lookup for template names in C/ObjC and always finding nothing. Turn off such lookup unless we're in C++ mode, along with the check that determines whether the given identifier is a "current class name", and assert that we don't make this mistake again. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93207 91177308-0d34-0410-b5e6-96231b3b80d8