Skip to content

Warning on linux #2128

Closed
Closed
@certik

Description

@certik
/home/tron1/ondrej/repos/lpython/src/libasr/codegen/llvm_utils.cpp: In member function ‘llvm::Type* LCompilers::LLVMUtils::get_arg_type_from_ttype_t(LCompilers::ASR::ttype_t*, LCompilers::ASR::symbol_t*, LCompilers::ASR::abiType, LCompilers::ASR::abiType, LCompilers::ASR::storage_typeType, bool, int&, int&, bool&, LCompilers::ASR::intentType, llvm::Module*, bool)’:
/home/tron1/ondrej/repos/lpython/src/libasr/codegen/llvm_utils.cpp:629:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  629 |                 if( type != nullptr ) {
      |                 ^~
/home/tron1/ondrej/repos/lpython/src/libasr/codegen/llvm_utils.cpp:632:21: note: here
  632 |                     case ASR::array_physical_typeType::FixedSizeArray: {
      |                     ^~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions