зеркало из https://github.com/microsoft/clang-1.git
Clang should not warn on code in clang that is only there to remove warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
b0ddf3aeb2
Коммит
b7ec67a43d
|
@ -73,7 +73,7 @@ TokenRewriter::AddToken(const Token &T, TokenRefTy Where) {
|
|||
bool InsertSuccess = TokenAtLoc.insert(std::make_pair(T.getLocation(),
|
||||
Where)).second;
|
||||
assert(InsertSuccess && "Token location already in rewriter!");
|
||||
InsertSuccess = InsertSuccess;
|
||||
(void)InsertSuccess;
|
||||
return Where;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче