mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 02:16:50 +00:00
Remove unused lambda captures. NFC
llvm-svn: 291941
This commit is contained in:
parent
3c3ae0e6db
commit
e65b1029ca
@ -207,8 +207,8 @@ runClangMoveOnCode(const move::MoveDefinitionSpec &Spec,
|
||||
std::vector<std::pair<std::string, std::string>> FileToSourceText = {
|
||||
{TestHeaderName, Header}, {TestCCName, CC}};
|
||||
|
||||
auto CreateFiles = [&FileToSourceText, &Context, &FileToFileID](
|
||||
llvm::StringRef Name, llvm::StringRef Code) {
|
||||
auto CreateFiles = [&Context, &FileToFileID](llvm::StringRef Name,
|
||||
llvm::StringRef Code) {
|
||||
if (!Name.empty()) {
|
||||
FileToFileID[Name] = Context.createInMemoryFile(Name, Code);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user