Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ else() # MSVC
add_compile_flag("-Wswitch") # we explicitly expect this in the code
add_compile_flag("-Wimplicit-fallthrough")
add_compile_flag("-Wnon-virtual-dtor")
add_compile_flag("-Wsuggest-override")

if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
# Google style requires this, so make sure we compile cleanly with it.
Expand Down
2 changes: 1 addition & 1 deletion src/passes/Outlining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ struct ReconstructStringifyWalker
};

struct Outlining : public Pass {
void run(Module* module) {
void run(Module* module) override {
HashStringifyWalker stringify;
// Walk the module and create a "string representation" of the program.
stringify.walkModule(module);
Expand Down
2 changes: 1 addition & 1 deletion src/passes/Poppify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ class PoppifyFunctionsPass : public Pass {
} // anonymous namespace

class PoppifyPass : public Pass {
void run(Module* module) {
void run(Module* module) override {
PassRunner subRunner(getPassRunner());
subRunner.add(std::make_unique<PoppifyFunctionsPass>());
// TODO: Enable this once it handles Poppy blocks correctly
Expand Down
Loading