mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +00:00
various cleanups noticed by Frits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135396 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -37,9 +37,9 @@ public:
|
||||
delete V;
|
||||
}
|
||||
|
||||
/// empty() - This vector can be empty if it contains no element, or if it
|
||||
/// contains a pointer to an empty vector.
|
||||
bool empty() const {
|
||||
// This vector can be empty if it contains no element, or if it
|
||||
// contains a pointer to an empty vector.
|
||||
if (Val.isNull()) return true;
|
||||
if (VecTy *Vec = Val.template dyn_cast<VecTy*>())
|
||||
return Vec->empty();
|
||||
|
Reference in New Issue
Block a user