Add a Type::isSingleValueType method. This will be used by code
authorDan Gohman <gohman@apple.com>
Wed, 21 May 2008 23:35:53 +0000 (23:35 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 21 May 2008 23:35:53 +0000 (23:35 +0000)
commitddc4ee82b51b54605253ffe0e86ce6d38e7729d9
treecc8d4f50486419a990c695f1ea09b3d6b79897a7
parentf4ea5103714fdb7ff9f88df6fd6325e8bef48e19
Add a Type::isSingleValueType method. This will be used by code
that currently uses Type::isFirstClassType and depends on it
returning false for struct or array types.

This commit doesn't change the behavior of Type::isFirstClassType.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51396 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Type.h