Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler+runtime/bin/build-clang
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ echo "Using ${make_j} cores to build"

srcdir="${PWD}"

llvm_url="https://github.com/jank-lang/llvm-project.git"
llvm_url="https://github.com/pfeodrippe/llvm-project.git"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be reverted before merging if we merge jank-lang/llvm-project#1 \o

llvm_version=22
llvm_branch="jank-snapshot/llvm${llvm_version}"

Expand Down
10 changes: 0 additions & 10 deletions compiler+runtime/src/cpp/jank/analyze/processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4351,16 +4351,6 @@ namespace jank::analyze
->add_usage(read::parse::reparse_nth(l, 0));
}

if(Cpp::IsStaticDatamember(member_scope))
{
return error::analyze_known_issue(
"A blocking Clang bug prevents access to static members in some scenarios. See "
"https://github.com/llvm/llvm-project/issues/146956 for details.",
object_source(member),
latest_expansion(macro_expansions))
->add_usage(read::parse::reparse_nth(l, 0));
}

val->val_kind = expr::cpp_value::value_kind::variable;
val->type = Cpp::GetLValueReferenceType(Cpp::GetTypeFromScope(member_scope));
val->scope = member_scope;
Expand Down
Loading