[libc++] Run macOS buildbot under xcrun (#167072)
This ensures that run-buildbot can find the appropriate build tools
without having to go through a bunch of hoops inside run-buildbot
itself. When we eventually run the bootstrapping build on macOS, it also
allows the bootstrapped Clang to find the SDK headers it requires.
This also allows simplifying run-buildbot a bunch since we should be
able to find build tools in the current $PATH.
[Driver] Remove extraneous c_str() (NFC) (#167156)
Note that addMultilibFlag takes StringRef for its second parameter.
Identified with readability-redundant-string-cstr.
[WebAssembly] Clean up CustomMappingTraits<BBNumberMap> (NFC) (#167155)
This patch does two things for readability:
- Use structured bindings.
- Remove extraneous .c_str().
Note that YamlIO.mapRequired takes StringRef as the key type. As
such, we can implicitly construct StringRef from std::string.
[ObjectYAML] Remove redundant .str().c_str() (NFC) (#167154)
We can drop .str().c_str() here because all of the following are of
type StringRef:
- E.Name
- the second parameter of llvm::yaml::IO::enumCase
- the second parameter of llvm::yaml::IO::bitSetCase
Identified with readability-redundant-string-cstr.
[NVPTX] Remove redundant declarations (NFC) (#167153)
initializeNVPTXCtorDtorLoweringLegacyPass is declared twice in
NVPTX.h.
initializeGenericToNVVMLegacyPassPass is declared in NVPTX.h.
Identified with readability-redundant-declaration.
[llvm] Proofread *.rst (#167108)
This patch is limited to single-word replacements to fix spelling
and/or grammar to ease the review process. Punctuation and markdown
fixes are specifically excluded.
[Headers][X86] avx512cd - move constexpr to the end of the function attribute lists. NFC. (#166968)
Consistent with how we order the attributes in other headers
Makes it easier to compare constexpr/non-constexpr attribute defines
[clang-tidy][NFC] Add missing "Check" suffix to filenames in clang-tidy checks (#166889)
This is part of the codebase cleanup described in
[#166753](https://github.com/llvm/llvm-project/issues/166753).