commit | d69f37b5822420e3c3a1b2e875b122aca8248533 | [log] [tgz] |
---|---|---|
author | Alp Toker <alp@nuanti.com> | Tue Oct 08 08:09:04 2013 +0000 |
committer | Alp Toker <alp@nuanti.com> | Tue Oct 08 08:09:04 2013 +0000 |
tree | 32a0e99c2da6c4cc2e7e7278c4325c85365a82bd | |
parent | 19ccb1227f5dc338d4b2d9dbbaeaa973c293f8d0 [diff] |
Make InstantiatingTemplate depth checks clearer The bool conversion operator on InstantiatingTemplate never added value and only served to obfuscate the template instantiation routines. This replaces the conversion and its callers with an explicit isInvalid() function to make it clear what's going on at a glance. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192177 91177308-0d34-0410-b5e6-96231b3b80d8