Jennifer Yao

Results 6 issues of Jennifer Yao

Currently, Clang does not prevent nor diagnose this type of recursive declaration, where, within a metaclass definition, a class prototype based on its enclosing metaclass (i.e., a class that is...

In the following C++ source code, when the loop variable `i` is either an lvalue or rvalue reference, Clang will crash due to a [failed assertion](https://github.com/asutton/clang/blob/e8a7401c3d7ca79771ce8b4a558bec17cdfd69f4/lib/AST/Decl.cpp#L2225) in `VarDecl::checkInitIsICE()`. ```c++ //...

bug

The invocation of `Sema::InjectMetaclassMembers()` in `Sema::ActOnFields()` appears to break semantic analysis of metaclass members that are injected into the definition of a class prototype. In the following example, two member...

bug

**NOTE:** The `__compiler_error()` intrinsic is implemented in the '[compiler-error](https://github.com/asutton/clang/tree/compiler-error)' branch. Currently, the argument to the `__compiler_error()` intrinsic can be a constant expression of character pointer type. However, when `__compiler_error()` is...

help wanted

Despite `__reflect_specifiers()` being a recognized reflection trait intrinsic, attempting to invoke it in C++ code results in the `diag::err_reflection_not_supported` error message. (To elaborate, in [lib/Sema/SemaReflect.cpp](https://github.com/asutton/clang/blob/80edcb78ef11f402a58132c3029be8675423d4f8/lib/Sema/SemaReflect.cpp#L459), the switch statement in `Reflector::Reflect(ReflectionTrait,...

bug

Several test programs in Origin make use of the C library's `assert` macro, which is problematic because three of CMake's predefined build configurations ("Release", "MinSizeRel", and "RelWithDebInfo") use the compiler...