We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04cb2b3 commit bd95ea0Copy full SHA for bd95ea0
clang-tools-extra/modularize/Modularize.cpp
@@ -381,11 +381,11 @@ getModularizeArgumentsAdjuster(DependencyMap &Dependencies) {
381
// somewhere into Tooling/ in mainline
382
struct Location {
383
OptionalFileEntryRef File;
384
- unsigned Line, Column;
+ unsigned Line = 0, Column = 0;
385
386
- Location() : File(), Line(), Column() {}
+ Location() = default;
387
388
- Location(SourceManager &SM, SourceLocation Loc) : File(), Line(), Column() {
+ Location(SourceManager &SM, SourceLocation Loc) {
389
Loc = SM.getExpansionLoc(Loc);
390
if (Loc.isInvalid())
391
return;
0 commit comments