Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Lex/HeaderSearch.cpp | ||
---|---|---|
1932 | nit: you can change the method signature to take in a SmallString directly. there's an implicit constructor and any caller that already has a copy that they're throwing away can pass it here instead. | |
1932 | this is same as llvm::SmallString<32> FilePath(File); | |
1948 | looks like reflow went wrong here, drop //? |
clang/lib/Lex/HeaderSearch.cpp | ||
---|---|---|
1932 | I don't think this is a good reason to change the signature unless it's actually a hot path. I changed CheckDir though because it's internal. |
This breaks tests on windows: http://45.33.8.238/win/70650/step_7.txt
Please take a look and revert for now if it takes a while to fix.
nit: you can change the method signature to take in a SmallString directly. there's an implicit constructor and any caller that already has a copy that they're throwing away can pass it here instead.