You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So it appears that the newer LLVM wants the locations of the left and right parens. (?)
I made a fix adding clang::SourceLocation() for both arguments, as I saw that's what another similar tool does. (in other words, random guess) But it now compiles and works! I'll commit the fix to a fork should you wish to pull it in.
The text was updated successfully, but these errors were encountered:
I'm a little behind with the LLVM 11 support. Thanks for reporting this. A patch would be great. However, it needs to be backwards compatible with LLVM10. Here is an example
CodeGenerator.cpp:1611 reads:
Which gives me the build error:
error: too few arguments to function call, expected 7, have 5
.I dug through the LLVM source (as well as another tool which manipulates the AST by linking with LLVM :)) and found the change:
So it appears that the newer LLVM wants the locations of the left and right parens. (?)
I made a fix adding
clang::SourceLocation()
for both arguments, as I saw that's what another similar tool does. (in other words, random guess) But it now compiles and works! I'll commit the fix to a fork should you wish to pull it in.The text was updated successfully, but these errors were encountered: