Skip to content

Commit 2500a6f

Browse files
committed
Address review comments
1 parent ed134e9 commit 2500a6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,8 +1846,8 @@ void Driver::PrintHelp(bool ShowHidden) const {
18461846
}
18471847

18481848
llvm::Triple Driver::MakeSYCLDeviceTriple(StringRef TargetArch) const {
1849-
SmallVector<StringRef, 5> SYCLAlias = {"spir", "spir64", "spir64_fpga",
1850-
"spir64_x86_64", "spir64_gen"};
1849+
ArrayRef<StringRef> SYCLAlias = {"spir", "spir64", "spir64_fpga",
1850+
"spir64_x86_64", "spir64_gen"};
18511851
if (std::find(SYCLAlias.begin(), SYCLAlias.end(), TargetArch) !=
18521852
SYCLAlias.end()) {
18531853
llvm::Triple TT;

0 commit comments

Comments
 (0)