summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-24 17:04:05 +0000
committerChris Lattner <sabre@nondot.org>2006-05-24 17:04:05 +0000
commitd74ea2bbd8bb630331f35ead42d385249bd42af8 (patch)
tree409cce9886da3cfca4dc504ddaef26781f6e69f6 /lib/Transforms/Instrumentation
parentc22158d371feb847f988e1ab2b287a27ea4c3c73 (diff)
downloadllvm-d74ea2bbd8bb630331f35ead42d385249bd42af8.tar.gz
llvm-d74ea2bbd8bb630331f35ead42d385249bd42af8.tar.bz2
llvm-d74ea2bbd8bb630331f35ead42d385249bd42af8.tar.xz
Patches to make the LLVM sources more -pedantic clean. Patch provided
by Anton Korobeynikov! This is a step towards closing PR786. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation')
-rw-r--r--lib/Transforms/Instrumentation/RSProfiling.cpp2
-rw-r--r--lib/Transforms/Instrumentation/RSProfiling.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/RSProfiling.cpp b/lib/Transforms/Instrumentation/RSProfiling.cpp
index 5918d7ee99..31c01ee886 100644
--- a/lib/Transforms/Instrumentation/RSProfiling.cpp
+++ b/lib/Transforms/Instrumentation/RSProfiling.cpp
@@ -162,7 +162,7 @@ namespace {
RegisterOpt<ProfilerRS> X("insert-rs-profiling-framework",
"Insert random sampling instrumentation framework");
-};
+}
//Local utilities
static void ReplacePhiPred(BasicBlock* btarget,
diff --git a/lib/Transforms/Instrumentation/RSProfiling.h b/lib/Transforms/Instrumentation/RSProfiling.h
index 304ce08f7b..e07db00452 100644
--- a/lib/Transforms/Instrumentation/RSProfiling.h
+++ b/lib/Transforms/Instrumentation/RSProfiling.h
@@ -26,4 +26,4 @@ namespace llvm {
void IncrementCounterInBlock(BasicBlock *BB, unsigned CounterNum,
GlobalValue *CounterArray);
};
-};
+}