diff options
-rw-r--r-- | clang/include/clang/Sema/Lookup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Sema/Lookup.h b/clang/include/clang/Sema/Lookup.h index e28b847f4ae..faf2343d39c 100644 --- a/clang/include/clang/Sema/Lookup.h +++ b/clang/include/clang/Sema/Lookup.h @@ -540,7 +540,7 @@ public: } /// Clears out any current state. - void clear() { + LLVM_ATTRIBUTE_REINITIALIZES void clear() { ResultKind = NotFound; Decls.clear(); if (Paths) deletePaths(Paths); |