diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Detect.cxx | 4 | ||||
-rw-r--r-- | src/Output.cxx | 2 | ||||
-rw-r--r-- | src/RunClang.cxx | 2 | ||||
-rw-r--r-- | src/Utils.cxx | 2 | ||||
-rw-r--r-- | src/castxml.cxx | 4 |
5 files changed, 8 insertions, 6 deletions
diff --git a/src/Detect.cxx b/src/Detect.cxx index 21bfef2..2ef5ae8 100644 --- a/src/Detect.cxx +++ b/src/Detect.cxx @@ -40,8 +40,8 @@ static bool failedCC(const char* id, std::vector<const char*> const& args, { std::cerr << "error: '--castxml-cc-" << id << "' compiler command failed:\n\n"; - for (std::vector<const char *>::const_iterator i = args.begin(), - e = args.end(); + for (std::vector<const char*>::const_iterator i = args.begin(), + e = args.end(); i != e; ++i) { std::cerr << " '" << *i << "'"; } diff --git a/src/Output.cxx b/src/Output.cxx index 9047921..2c4c25e 100644 --- a/src/Output.cxx +++ b/src/Output.cxx @@ -65,6 +65,7 @@ protected: private: typedef void (DumpQual::*bool_type)() const; void bool_true() const {} + public: bool IsConst; bool IsVolatile; @@ -113,6 +114,7 @@ protected: private: typedef void (DumpId::*bool_type)() const; void bool_true() const {} + public: unsigned int Id; DumpQual Qual; diff --git a/src/RunClang.cxx b/src/RunClang.cxx index edf18a5..cf1e674 100644 --- a/src/RunClang.cxx +++ b/src/RunClang.cxx @@ -53,7 +53,7 @@ #if LLVM_VERSION_MAJOR > 3 || \ LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR >= 9 -#define CASTXML_OWNS_OSTREAM +# define CASTXML_OWNS_OSTREAM #endif class ASTConsumer : public clang::ASTConsumer diff --git a/src/Utils.cxx b/src/Utils.cxx index a7b5245..7846b0b 100644 --- a/src/Utils.cxx +++ b/src/Utils.cxx @@ -230,7 +230,7 @@ std::string stringReplace(std::string str, std::string const& in, } #if defined(_WIN32) -#include <windows.h> +# include <windows.h> #endif void suppressInteractiveErrors() diff --git a/src/castxml.cxx b/src/castxml.cxx index 4989857..c15804a 100644 --- a/src/castxml.cxx +++ b/src/castxml.cxx @@ -29,7 +29,7 @@ #include "llvm/Support/raw_ostream.h" #if LLVM_VERSION_MAJOR >= 7 -#include "llvm/Support/InitLLVM.h" +# include "llvm/Support/InitLLVM.h" #endif #include <iostream> @@ -41,7 +41,7 @@ #if LLVM_VERSION_MAJOR > 3 || \ LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR >= 7 -#include "llvm/Support/StringSaver.h" +# include "llvm/Support/StringSaver.h" #else class StringSaver : public llvm::cl::StringSaver { |