forked from OSchip/llvm-project
Silence unused variable warning in CIndex.cpp with NDEBUG
llvm-svn: 201276
This commit is contained in:
parent
883b5add8e
commit
fd48fc6d33
|
@ -2611,6 +2611,7 @@ CXTranslationUnit clang_createTranslationUnit(CXIndex CIdx,
|
|||
CXTranslationUnit TU;
|
||||
enum CXErrorCode Result =
|
||||
clang_createTranslationUnit2(CIdx, ast_filename, &TU);
|
||||
(void)Result;
|
||||
assert((TU && Result == CXError_Success) ||
|
||||
(!TU && Result != CXError_Success));
|
||||
return TU;
|
||||
|
|
Loading…
Reference in New Issue