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 bae77d5 commit 0c83a0bCopy full SHA for 0c83a0b
clang-tools-extra/modularize/Modularize.cpp
@@ -379,11 +379,11 @@ getModularizeArgumentsAdjuster(DependencyMap &Dependencies) {
379
// somewhere into Tooling/ in mainline
380
struct Location {
381
OptionalFileEntryRef File;
382
- unsigned Line, Column;
+ unsigned Line = 0, Column = 0;
383
384
- Location() : File(), Line(), Column() {}
+ Location() = default;
385
386
- Location(SourceManager &SM, SourceLocation Loc) : File(), Line(), Column() {
+ Location(SourceManager &SM, SourceLocation Loc) {
387
Loc = SM.getExpansionLoc(Loc);
388
if (Loc.isInvalid())
389
return;
0 commit comments