[PATCH] D41102: Setup clang-doc frontend framework
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 21 12:11:38 PST 2018
lebedev.ri added inline comments.
================
Comment at: clang-doc/Representation.h:79
+ std::string Filename;
+};
+
----------------
Hmm, have you tried adding a constructor here?
```
struct Location {
int LineNumber;
std::string Filename;
Location() = default;
Location(int LineNumber_, std::string Filename_) : LineNumber(LineNumber_), Filename(std::move(Filename_)) {}
};
```
?
https://reviews.llvm.org/D41102
More information about the cfe-commits
mailing list