commit | 984f2783ad8319aa0cbfca1c4a719688b1ecfd5e | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Fri Mar 22 21:33:46 2013 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Fri Mar 22 21:33:46 2013 +0000 |
tree | 58160f8fc66220c74e11bd4d7db6b056af52ef5e | |
parent | 88de5a0963cbd2b92810d20d1bfbd9eb4951dc42 [diff] |
Use RequireCompleteType() instead of isIncompleteType(). isIncompleteType() returns true or false for template types depending on whether the type is instantiated yet. In this context, that's arbitrary. The better way to check for a complete type is RequireCompleteType(). Thanks to Eli Friedman for noticing this! <rdar://problem/12700799> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177768 91177308-0d34-0410-b5e6-96231b3b80d8