Fix potential ODR vialation.

llvm-svn: 352035
This commit is contained in:
Haojian Wu 2019-01-24 09:35:08 +00:00
parent b6d3c50a36
commit f70a4c7712
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public:
UUID ID;
};
bool operator==(const ModuleRecord &L, const ModuleRecord &R) {
inline bool operator==(const ModuleRecord &L, const ModuleRecord &R) {
return L.OS == R.OS && L.Arch == R.Arch && L.ID == R.ID;
}
llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const ModuleRecord &R);