1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-05-10 19:14:57 +02:00

refactor: Disable assertions giving clang warnings

This commit is contained in:
Sirius Bakke
2017-01-12 18:36:39 +01:00
parent b847fb949e
commit c4295b7e88

View File

@@ -82,10 +82,10 @@ void LLkParser::traceOut(const char* rname)
RefToken LLkParser::LT(unsigned int i)
{
assert(this!=NULL);
//assert(this!=NULL); //clang error: 'this' pointer cannot be null in well-defined C++ code;
assert(inputState!=NULL);
TokenBuffer &tb = inputState->getInput();
assert(&tb!=NULL);
//assert(&tb!=NULL); //clang error: reference cannot be bound to dereferenced null pointer in well-defined C++ code;
return tb.LT(i);
}