about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--llvm_mode/Makefile2
-rw-r--r--llvm_mode/MarkNodes.cc2
-rw-r--r--llvm_mode/split-compares-pass.so.cc6
3 files changed, 4 insertions, 6 deletions
diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile
index 1c661525..8331b662 100644
--- a/llvm_mode/Makefile
+++ b/llvm_mode/Makefile
@@ -48,7 +48,7 @@ ifdef AFL_TRACE_PC
 endif
 
 CXXFLAGS    ?= -O3 -funroll-loops
-CXXFLAGS    += -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign \
+CXXFLAGS    += -Wall -D_FORTIFY_SOURCE=2 -g \
                -DVERSION=\"$(VERSION)\" -Wno-variadic-macros
 
 CLANG_CFL    = `$(LLVM_CONFIG) --cxxflags` -Wl,-znodelete -fno-rtti -fpic $(CXXFLAGS)
diff --git a/llvm_mode/MarkNodes.cc b/llvm_mode/MarkNodes.cc
index a156fccb..348dc264 100644
--- a/llvm_mode/MarkNodes.cc
+++ b/llvm_mode/MarkNodes.cc
@@ -193,7 +193,7 @@ namespace DominatorTree{
         idom[now] = idom[idom[now]];
     }
   }
-}; // End of DominatorTree
+} // End of DominatorTree
 
 std::vector<uint32_t> Visited, InStack;
 std::vector<uint32_t> TopoOrder, InDeg;
diff --git a/llvm_mode/split-compares-pass.so.cc b/llvm_mode/split-compares-pass.so.cc
index c025628f..a74b60fa 100644
--- a/llvm_mode/split-compares-pass.so.cc
+++ b/llvm_mode/split-compares-pass.so.cc
@@ -495,14 +495,12 @@ bool SplitComparesTransform::runOnModule(Module &M) {
       errs() << "Running split-compare-pass " << 64 << "\n"; 
       splitCompares(M, 64);
 
-      [[clang::fallthrough]];
-      /* fallthrough */
+      [[clang::fallthrough]]; /*FALLTHRU*/ /* FALLTHROUGH */
     case 32:
       errs() << "Running split-compare-pass " << 32 << "\n"; 
       splitCompares(M, 32);
 
-      [[clang::fallthrough]];
-      /* fallthrough */
+      [[clang::fallthrough]]; /*FALLTHRU*/ /* FALLTHROUGH */
     case 16:
       errs() << "Running split-compare-pass " << 16 << "\n"; 
       splitCompares(M, 16);