diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-12 17:08:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-12 17:08:44 +0000 |
commit | e004fd005d3db3caf535d273418c4427b0428ab5 (patch) | |
tree | a4e15e0448e9c85514f16bd0ff978ff898bd2c77 | |
parent | 207f2d4056ac6991419603179911cb09cf4a9966 (diff) | |
download | external_llvm-e004fd005d3db3caf535d273418c4427b0428ab5.zip external_llvm-e004fd005d3db3caf535d273418c4427b0428ab5.tar.gz external_llvm-e004fd005d3db3caf535d273418c4427b0428ab5.tar.bz2 |
Add comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16937 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 0fb34c5..fd5dbdd 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -192,6 +192,8 @@ public: inline bool isDerivedType() const { return ID >= FirstDerivedTyID; } /// isFirstClassType - Return true if the value is holdable in a register. + /// Note that we consider opaque types to be first class, as they may be + /// resolved to a first class type later. inline bool isFirstClassType() const { return (ID != VoidTyID && ID <= LastPrimitiveTyID) || ID == PointerTyID || ID == PackedTyID || ID == OpaqueTyID; |