diff options
author | Michael Gottesman <mgottesman@apple.com> | 2015-03-16 07:02:39 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2015-03-16 07:02:39 +0000 |
commit | c01ab519e68c0c14389c668aaba1cee2800a5de9 (patch) | |
tree | b11b7e9e265aa013aed3abd10bdabc749e9e5ad3 /llvm/lib/Transforms/ObjCARC/BlotMapVector.h | |
parent | dd60f9bb09b627096e6a2ff7ce67b641ae5e2f68 (diff) | |
download | bcm5719-llvm-c01ab519e68c0c14389c668aaba1cee2800a5de9.tar.gz bcm5719-llvm-c01ab519e68c0c14389c668aaba1cee2800a5de9.zip |
[objc-arc] Fix indentation of debug logging so it is easy to read the output.
llvm-svn: 232352
Diffstat (limited to 'llvm/lib/Transforms/ObjCARC/BlotMapVector.h')
-rw-r--r-- | llvm/lib/Transforms/ObjCARC/BlotMapVector.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/ObjCARC/BlotMapVector.h b/llvm/lib/Transforms/ObjCARC/BlotMapVector.h index 34ba7ecd8c5..d6439b69841 100644 --- a/llvm/lib/Transforms/ObjCARC/BlotMapVector.h +++ b/llvm/lib/Transforms/ObjCARC/BlotMapVector.h @@ -99,5 +99,10 @@ public: Map.clear(); Vector.clear(); } + + bool empty() const { + assert(Map.empty() == Vector.empty()); + return Map.empty(); + } }; } // |