diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/TpiHashing.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/TpiHashing.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/TpiHashing.cpp b/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/TpiHashing.cpp index b71b2b158144..941ce78027a2 100644 --- a/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/TpiHashing.cpp +++ b/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/TpiHashing.cpp @@ -19,7 +19,7 @@ using namespace llvm::pdb;  // Corresponds to `fUDTAnon`.  static bool isAnonymous(StringRef Name) {    return Name == "<unnamed-tag>" || Name == "__unnamed" || -         Name.endswith("::<unnamed-tag>") || Name.endswith("::__unnamed"); +         Name.ends_with("::<unnamed-tag>") || Name.ends_with("::__unnamed");  }  // Computes the hash for a user-defined type record. This could be a struct,  | 
