Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 22954 Build 22954: arc lint + arc unit
Event Timeline
lib/Target/TargetMachine.cpp | ||
---|---|---|
43 | In my understanding about an out-of-line destructor, it does not matter if {} or = default is used, either will make the destructor non-trivial. But I agree with you in that = default; looks better. |
Comment Actions
looks good - thanks!
(& yeah, for an out of line ctor, I don't think there's any difference in the codegen (or there shouldn't be) between = default and {}, but as you say, looks a bit better/makes it more explicit (to other readers and the compiler that there's nothing interesting going on, etc)
Should these be unique_ptr<const T> like the original that was const T*?