Skip to content

Commit

Permalink
[TableGen] Modernize OverloadInfo (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazutakahirata committed Sep 4, 2023
1 parent 77604d2 commit dd27036
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clang/utils/TableGen/NeonEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2049,10 +2049,10 @@ void NeonEmitter::genOverloadTypeCheckCode(raw_ostream &OS,
// definitions may extend the number of permitted types (i.e. augment the
// Mask). Use std::map to avoid sorting the table by hash number.
struct OverloadInfo {
uint64_t Mask;
int PtrArgNum;
bool HasConstPtr;
OverloadInfo() : Mask(0ULL), PtrArgNum(0), HasConstPtr(false) {}
uint64_t Mask = 0ULL;
int PtrArgNum = 0;
bool HasConstPtr = false;
OverloadInfo() = default;
};
std::map<std::string, OverloadInfo> OverloadMap;

Expand Down

0 comments on commit dd27036

Please sign in to comment.