Skip to content

Commit

Permalink
cg: Remove unimplemented asserts for attributes in global decls codegen.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jezurko authored and xlauko committed Oct 6, 2023
1 parent 61f59fb commit f0a011a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/vast/CodeGen/CodeGenDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,6 @@ namespace vast::cg
VAST_UNIMPLEMENTED_MSG("dtor emition");
}

if (function_decl->getAttr< clang::AnnotateAttr >()) {
VAST_UNIMPLEMENTED_MSG("annotated emition");
}

return op;
}

Expand Down Expand Up @@ -310,11 +306,6 @@ namespace vast::cg
operation codegen_driver::build_global(clang::GlobalDecl decl) {
const auto *glob = llvm::cast< clang::ValueDecl >(decl.getDecl());

VAST_UNIMPLEMENTED_IF(glob->hasAttr< clang::WeakRefAttr >());
VAST_UNIMPLEMENTED_IF(glob->hasAttr< clang::AliasAttr >());
VAST_UNIMPLEMENTED_IF(glob->hasAttr< clang::IFuncAttr >());
VAST_UNIMPLEMENTED_IF(glob->hasAttr< clang::CPUDispatchAttr >());

VAST_UNIMPLEMENTED_IF(lang().CUDA);
VAST_UNIMPLEMENTED_IF(lang().OpenMP);

Expand Down

0 comments on commit f0a011a

Please sign in to comment.