Skip to content

Segmentation fault with noexcept( condition ) #654

@Ukilele

Description

@Ukilele

Hey Andreas,
followin code:

template<bool B>
void f() noexcept(B)
{
}

leads to following console output:

insights: /github/workspace/cppinsights/InsightsHelpers.cpp:1503: bool clang::insights::EvaluateAsBoolenCondition(const clang::Expr&, const clang::Decl&): Assertion `res' failed.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
Segmentation fault (core dumped)

The same output for C++11 until C++2c. No other transformations are enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions