File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin")
7
7
8
8
SET (CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS} " )
9
9
SET (CMAKE_CXX_FLAGS "-msse2 -mfpmath=sse ${CMAKE_CXX_FLAGS} " )
10
- SET (CMAKE_CXX_FLAGS "-O2 -Wall ${CMAKE_CXX_FLAGS} " )
10
+ SET (CMAKE_CXX_FLAGS "-O2 ${CMAKE_CXX_FLAGS} " )
11
11
12
12
# clang doesn't print colored diagnostics when invoked from Ninja
13
13
IF (UNIX AND
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ P* PassRunner::getLast() {
86
86
87
87
PassRunner::~PassRunner () {
88
88
for (auto pass : passes) {
89
- delete ( pass) ;
89
+ delete pass;
90
90
}
91
91
}
92
92
Original file line number Diff line number Diff line change @@ -1107,6 +1107,7 @@ class Module {
1107
1107
1108
1108
template <class ReturnType >
1109
1109
struct WasmVisitor {
1110
+ virtual ~WasmVisitor () {}
1110
1111
// should be pure virtual, but https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51048
1111
1112
// Expression visitors
1112
1113
virtual ReturnType visitBlock (Block *curr) { abort (); }
You can’t perform that action at this time.
0 commit comments