llvm.org GIT mirror llvm / 14596df
[llvm-ar] Move a variable declaration closer to where it is needed. NFC. This was from a missed review comment from D51338. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341577 91177308-0d34-0410-b5e6-96231b3b80d8 Martin Storsjo 11 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
790790
791791 for (line_iterator I(Ref, /*SkipBlanks*/ false), E; I != E; ++I) {
792792 StringRef Line = *I;
793 StringRef CommandStr, Rest;
794793 Line = Line.split(';').first;
795794 Line = Line.split('*').first;
796795 Line = Line.trim();
797796 if (Line.empty())
798797 continue;
798 StringRef CommandStr, Rest;
799799 std::tie(CommandStr, Rest) = Line.split(' ');
800800 Rest = Rest.trim();
801801 if (!Rest.empty() && Rest.front() == '"' && Rest.back() == '"')