cfe change for https://reviews.llvm.org/D29203
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3335 Build 3335: arc lint + arc unit
Event Timeline
lib/CodeGen/CodeGenModule.cpp | ||
---|---|---|
452 ↗ | (On Diff #86058) | Why should we warn on mismatch? |
lib/CodeGen/CodeGenModule.cpp | ||
---|---|---|
452 ↗ | (On Diff #86058) | In theory, we expect this to be the same across all modules. Otherwise when we use this binary for profiling, we may get inaccurate profiles. |
lib/CodeGen/CodeGenModule.cpp | ||
---|---|---|
452 ↗ | (On Diff #86058) | Oh I thought about the "unset" case but we wouldn't warn in this case. Indeed we never even should have this flag with a zero value. |
lib/CodeGen/CodeGenModule.cpp | ||
---|---|---|
452 ↗ | (On Diff #86058) | Unless you really intend to get a warning on mismatch, in which case you should always emit the flag, but with a zero value when not enabled. |
Comment Actions
Oops, forgot to write stuff so the approval appears on-list.
Anyway - looks good/approved.