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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user