This will be used to YAMLify parts of the module summary.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 2339 Build 2339: arc lint + arc unit
Event Timeline
Comment Actions
One nit: you're using StringMap everywhere and it can be confusing since it is not about the llvm::StringMap
llvm/include/llvm/Support/YAMLTraits.h | ||
---|---|---|
1550–1557 | nit: I think the variable names should start with a capital letter. |
Comment Actions
The name CustomMapping seems a little better, I'll rename and commit.
llvm/include/llvm/Support/YAMLTraits.h | ||
---|---|---|
1550–1557 | I'm just following the style in the rest of this file. |
llvm/trunk/lib/Support/YAMLTraits.cpp | ||
---|---|---|
389–393 ↗ | (On Diff #82997) | Isn't this: return is_contained(ValidKeys, Key);? |
llvm/trunk/lib/Support/YAMLTraits.cpp | ||
---|---|---|
389–393 ↗ | (On Diff #82997) | Sweet, I didn't know about llvm::is_contained! |
llvm/trunk/lib/Support/YAMLTraits.cpp | ||
---|---|---|
389–393 ↗ | (On Diff #82997) | Thanks. I changed the code to use is_contained in r290999. |
nit: I think the variable names should start with a capital letter.