Fix include guard naming [-Wreserved-id-macro] (#99)

This commit is contained in:
mrks 2018-09-29 10:38:29 +02:00 committed by GitHub
parent 717df4d910
commit c7980a0009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 37 additions and 37 deletions

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__SQLPARSER_H__
#define __SQLPARSER__SQLPARSER_H__
#ifndef SQLPARSER_SQLPARSER_H
#define SQLPARSER_SQLPARSER_H
#include "SQLParserResult.h"
#include "sql/statements.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__SQLPARSER_RESULT_H__
#define __SQLPARSER__SQLPARSER_RESULT_H__
#ifndef SQLPARSER_SQLPARSER_RESULT_H
#define SQLPARSER_SQLPARSER_RESULT_H
#include "sql/SQLStatement.h"
@ -90,4 +90,4 @@ namespace hsql {
} // namespace hsql
#endif // __SQLPARSER__SQLPARSER_RESULT_H__
#endif // SQLPARSER_SQLPARSER_RESULT_H

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__CREATE_STATEMENT_H__
#define __SQLPARSER__CREATE_STATEMENT_H__
#ifndef SQLPARSER_CREATE_STATEMENT_H
#define SQLPARSER_CREATE_STATEMENT_H
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__DELETE_STATEMENT_H__
#define __SQLPARSER__DELETE_STATEMENT_H__
#ifndef SQLPARSER_DELETE_STATEMENT_H
#define SQLPARSER_DELETE_STATEMENT_H
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__DROP_STATEMENT_H__
#define __SQLPARSER__DROP_STATEMENT_H__
#ifndef SQLPARSER_DROP_STATEMENT_H
#define SQLPARSER_DROP_STATEMENT_H
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__EXECUTE_STATEMENT_H__
#define __SQLPARSER__EXECUTE_STATEMENT_H__
#ifndef SQLPARSER_EXECUTE_STATEMENT_H
#define SQLPARSER_EXECUTE_STATEMENT_H
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__EXPR_H__
#define __SQLPARSER__EXPR_H__
#ifndef SQLPARSER_EXPR_H
#define SQLPARSER_EXPR_H
#include <stdlib.h>
#include <memory>

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__IMPORT_STATEMENT_H__
#define __SQLPARSER__IMPORT_STATEMENT_H__
#ifndef SQLPARSER_IMPORT_STATEMENT_H
#define SQLPARSER_IMPORT_STATEMENT_H
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__INSERT_STATEMENT_H__
#define __SQLPARSER__INSERT_STATEMENT_H__
#ifndef SQLPARSER_INSERT_STATEMENT_H
#define SQLPARSER_INSERT_STATEMENT_H
#include "SQLStatement.h"
#include "SelectStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__PREPARE_STATEMENT_H__
#define __SQLPARSER__PREPARE_STATEMENT_H__
#ifndef SQLPARSER_PREPARE_STATEMENT_H
#define SQLPARSER_PREPARE_STATEMENT_H
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__SQLSTATEMENT_H__
#define __SQLPARSER__SQLSTATEMENT_H__
#ifndef SQLPARSER_SQLSTATEMENT_H
#define SQLPARSER_SQLSTATEMENT_H
#include <vector>
@ -49,4 +49,4 @@ namespace hsql {
} // namespace hsql
#endif // __SQLPARSER__SQLSTATEMENT_H__
#endif // SQLPARSER_SQLSTATEMENT_H

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__SELECT_STATEMENT_H__
#define __SQLPARSER__SELECT_STATEMENT_H__
#ifndef SQLPARSER_SELECT_STATEMENT_H
#define SQLPARSER_SELECT_STATEMENT_H
#include "SQLStatement.h"
#include "Expr.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__SHOW_STATEMENT_H__
#define __SQLPARSER__SHOW_STATEMENT_H__
#ifndef SQLPARSER_SHOW_STATEMENT_H
#define SQLPARSER_SHOW_STATEMENT_H
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__TABLEREF_H__
#define __SQLPARSER__TABLEREF_H__
#ifndef SQLPARSER_TABLEREF_H
#define SQLPARSER_TABLEREF_H
#include "Expr.h"
#include <stdio.h>

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__UPDATE_STATEMENT_H__
#define __SQLPARSER__UPDATE_STATEMENT_H__
#ifndef SQLPARSER_UPDATE_STATEMENT_H
#define SQLPARSER_UPDATE_STATEMENT_H
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__STATEMENTS_H__
#define __SQLPARSER__STATEMENTS_H__
#ifndef SQLPARSER_STATEMENTS_H
#define SQLPARSER_STATEMENTS_H
#include "SelectStatement.h"
#include "ImportStatement.h"
@ -12,4 +12,4 @@
#include "ExecuteStatement.h"
#include "ShowStatement.h"
#endif // __SQLPARSER__STATEMENTS_H__
#endif // SQLPARSER_STATEMENTS_H

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER__SQLHELPER_H__
#define __SQLPARSER__SQLHELPER_H__
#ifndef SQLPARSER_SQLHELPER_H
#define SQLPARSER_SQLHELPER_H
#include "../sql/statements.h"