logic: C/C++ errors without location are now recorded for current main file
* such an error occurrs if a "-include" flag is provided with a non-existing file"
This commit is contained in:
@@ -168,7 +168,10 @@ private:
|
||||
bool fatal,
|
||||
bool indexed) override
|
||||
{
|
||||
errors.push_back(addLocationSuffix(message, location));
|
||||
if (location.isValid())
|
||||
{
|
||||
errors.push_back(addLocationSuffix(message, location));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::wstring>* getBinForSymbolKind(SymbolKind symbolType)
|
||||
|
||||
Reference in New Issue
Block a user