New improved 'u'-less clang.
Details
Details
- Reviewers
- compnerd - aaron.ballman 
- Commits
- rG61b6b0eb1bbf: [NFC][clang] Refactor getCompilationPhases()+Types.def step 3.
 rC367478: [NFC][clang] Refactor getCompilationPhases()+Types.def step 3.
 rL367478: [NFC][clang] Refactor getCompilationPhases()+Types.def step 3.
 rGd2254dbf21a3: [NFC][clang] Refactor getCompilationPhases()+Types.def step 3.
 rC367345: [NFC][clang] Refactor getCompilationPhases()+Types.def step 3.
 rL367345: [NFC][clang] Refactor getCompilationPhases()+Types.def step 3.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/lib/Driver/Types.cpp | ||
|---|---|---|
| 113 | I think this is better written as: static const clang::driver::types::ID kStaticLangageTypes[] = {
  TY_CUDA_DEVICE, TY_HIP_DEVICE, ...
};
return !llvm::contains(kStaticLangageTypes, Id); | |
I think this is better written as:
static const clang::driver::types::ID kStaticLangageTypes[] = { TY_CUDA_DEVICE, TY_HIP_DEVICE, ... }; return !llvm::contains(kStaticLangageTypes, Id);