minor code style cleanup.
authorChris Lattner <sabre@nondot.org>
Wed, 20 Mar 2013 21:04:53 +0000 (21:04 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 20 Mar 2013 21:04:53 +0000 (21:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177576 91177308-0d34-0410-b5e6-96231b3b80d8

lib/IR/Function.cpp

index 5559a6c56e6e4c84152ca75f95475f8e66791d45..1e72b90a13cec55e3769fcd7f0d8eea75310ce92 100644 (file)
@@ -211,7 +211,7 @@ Function::~Function() {
   clearGC();
 
   // Remove the intrinsicID from the Cache.
-  if(getValueName() && isIntrinsic())
+  if (getValueName() && isIntrinsic())
     getContext().pImpl->IntrinsicIDCache.erase(this);
 }
 
@@ -352,7 +352,7 @@ unsigned Function::getIntrinsicID() const {
 
   LLVMContextImpl::IntrinsicIDCacheTy &IntrinsicIDCache =
     getContext().pImpl->IntrinsicIDCache;
-  if(!IntrinsicIDCache.count(this)) {
+  if (!IntrinsicIDCache.count(this)) {
     unsigned Id = lookupIntrinsicID();
     IntrinsicIDCache[this]=Id;
     return Id;