astyle formatting
This commit is contained in:
parent
14cbaebfe2
commit
d27b6a1598
|
@ -30,7 +30,7 @@ class ErrorLine;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief A class containing error data for one error.
|
* @brief A class containing error data for one error.
|
||||||
*
|
*
|
||||||
* The paths are stored with internal ("/") separators. Only when we show the
|
* The paths are stored with internal ("/") separators. Only when we show the
|
||||||
* path or copy if for user (to clipboard) we convert to native separators.
|
* path or copy if for user (to clipboard) we convert to native separators.
|
||||||
* Full path is stored instead of relative path for flexibility. It is easy
|
* Full path is stored instead of relative path for flexibility. It is easy
|
||||||
|
|
|
@ -88,7 +88,7 @@ static BOOL MyIsDirectory(std::string path)
|
||||||
return (GetFileAttributes(path.c_str()) & FILE_ATTRIBUTE_DIRECTORY);
|
return (GetFileAttributes(path.c_str()) & FILE_ATTRIBUTE_DIRECTORY);
|
||||||
#else
|
#else
|
||||||
// See http://msdn.microsoft.com/en-us/library/bb773621(VS.85).aspx
|
// See http://msdn.microsoft.com/en-us/library/bb773621(VS.85).aspx
|
||||||
return PathIsDirectory(path.c_str());
|
return PathIsDirectory(path.c_str());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1606,7 +1606,7 @@ void Preprocessor::handleIncludes(std::string &code, const std::string &filePath
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
std::string f = filePath;
|
std::string f = filePath;
|
||||||
|
|
||||||
// Determine line number of include
|
// Determine line number of include
|
||||||
unsigned int linenr = 0;
|
unsigned int linenr = 0;
|
||||||
unsigned int level = 0;
|
unsigned int level = 0;
|
||||||
|
|
Loading…
Reference in New Issue