Skip to content

Commit

Permalink
Bump LLVM to fix member expr operator loc issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Goodman committed Jun 26, 2024
1 parent 9932378 commit f642f5c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions tests/CxxMacros/MacroInFunctionTemplate.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
namespace MacroInFunctionTemplate {

struct MachineAssembler {
void AssertNotSmi(void);
};

#define __ masm->

template <typename T>
void GenerateTypedArrayStore(MachineAssembler *masm) {
__ AssertNotSmi();
}

int test() {
MachineAssembler masm;
GenerateTypedArrayStore<int>(&masm);
}

} // namespace MacroInFunctionTemplate
2 changes: 1 addition & 1 deletion vendor/llvm-project/src

0 comments on commit f642f5c

Please sign in to comment.