Assertion failure in clang::threadSafety::til::Project::Project #34148
Labels
bugzilla
Issues migrated from bugzilla
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
Extended Description
$ cat test-clang__threadSafety__til__Project__Project.cc
struct A {
operator int() const;
};
struct B {
bool g() attribute((locks_excluded(h)));
int h;
};
struct C {
B* operator;
};
C c;
void f() { c[A()]->g(); }
$ clang-tidy -checks=-*,modernize-use-override test-clang__threadSafety__til__Project__Project.cc -- -std=c++11 -Wthread-safety-analysis
assertion failed at llvm/tools/clang/include/clang/AST/Decl.h:238 in llvm::StringRef clang::NamedDecl::getName() const: Name.isIdentifier() && "Name is not a simple identifier"
The text was updated successfully, but these errors were encountered: