Some syntax are not identified and marked as Problem #244
Description
Describe the bug
Some of the Syntax and identifiers are not recognized by editor and red underline comes under it. Like in pinMode(2,OUTPUT); here OUTPUT is not recognized and says "Use of undeclared identifier 'OUTPUT'clang(undeclared_var_use)"
There are many more like
Serial in Serial.begin();
A0 port number
delay in delay(1000);
LED_BUILTIN
LOW in digitalWrite(2,LOW);
HIGH in digitalWrite(2,HIGH);
digitalRead but not digitalWrite and many more
The code is verified successfully and uploading also but only showing underline in editor and also in the Problem panel.
Also I added Simple DHT Library and on declaring DHT object it is showing red underline but the code is working perfectly and giving reading on the serial monitor.
Expected behavior
It should not display error and problems in the system defined functions and constants and also in other functions, constants and objects if its library is included.
Screenshots
https://drive.google.com/open?id=1DaicDwp4aAcbiV7KlOBb-qTKdS2Z69fs
Desktop (please complete the following information):
- OS: [Windows]
- Version [10]