Skip to content

Commit

Permalink
cc: Resurrect unreachability checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Nov 28, 2024
1 parent 3689973 commit 6f03642
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions lib/vast/Frontend/Consumer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ namespace vast::cc {
}

void vast_consumer::HandleCXXStaticMemberVarInstantiation(clang::VarDecl * /* decl */) {
// VAST_UNIMPLEMENTED;
VAST_UNIMPLEMENTED;
}

void vast_consumer::HandleInlineFunctionDefinition(clang::FunctionDecl * /* decl */) {
// VAST_UNIMPLEMENTED;
VAST_UNIMPLEMENTED;
}

void vast_consumer::HandleInterestingDecl(clang::DeclGroupRef /* decl */) {
// VAST_UNIMPLEMENTED;
VAST_UNIMPLEMENTED;
}

void vast_consumer::HandleTranslationUnit(acontext_t &actx) {
Expand All @@ -84,12 +84,12 @@ namespace vast::cc {
// For MSVC compatibility, treat declarations of static data members with
// inline initializers as definitions.
if (actx.getTargetInfo().getCXXABI().isMicrosoft()) {
// VAST_UNIMPLEMENTED;
VAST_UNIMPLEMENTED;
}

// For OpenMP emit declare reduction functions, if required.
if (actx.getLangOpts().OpenMP) {
// VAST_UNIMPLEMENTED;
VAST_UNIMPLEMENTED;
}
}

Expand All @@ -100,12 +100,10 @@ namespace vast::cc {
void vast_consumer::CompleteTentativeDefinition(clang::VarDecl * /* decl */) {}

void vast_consumer::AssignInheritanceModel(clang::CXXRecordDecl * /* decl */) {
// VAST_UNIMPLEMENTED;
VAST_UNIMPLEMENTED;
}

void vast_consumer::HandleVTable(clang::CXXRecordDecl * /* decl */) {
// VAST_UNIMPLEMENTED;
}
void vast_consumer::HandleVTable(clang::CXXRecordDecl * /* decl */) { VAST_UNIMPLEMENTED; }

owning_mlir_module_ref vast_consumer::result() { return driver->freeze(); }

Expand Down

0 comments on commit 6f03642

Please sign in to comment.