mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-11-29 10:17:38 +08:00
Enable build/header_guard for cpplint (#1936)
This commit is contained in:
parent
5f273d8744
commit
0d178877f0
@ -26,7 +26,6 @@ filter=-legal/copyright
|
||||
filter=-build/storage_class
|
||||
filter=-build/namespaces
|
||||
filter=-build/include
|
||||
filter=-build/header_guard
|
||||
filter=-build/include_what_you_use
|
||||
filter=-runtime/explicit
|
||||
filter=-runtime/string
|
||||
|
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#define MAJOR @DROGON_MAJOR_VERSION@
|
||||
#define MINOR @DROGON_MINOR_VERSION@
|
||||
#define PATCH @DROGON_PATCH_VERSION@
|
||||
#define DROGON_VERSION "@DROGON_VERSION_STRING@"
|
||||
#define DROGON_VERSION_SHA1 "@GIT_SHA1@"
|
||||
#define DROGON_VERSION_SHA1 "@GIT_SHA1@"
|
||||
|
@ -11,6 +11,7 @@
|
||||
* Drogon
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <chrono>
|
||||
#include <functional>
|
||||
|
@ -11,6 +11,7 @@
|
||||
* Drogon
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -11,6 +11,8 @@
|
||||
* Drogon
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <trantor/utils/NonCopyable.h>
|
||||
#include <trantor/net/EventLoop.h>
|
||||
#include <chrono>
|
||||
|
2
third_party/mman-win32/mman.h
vendored
2
third_party/mman-win32/mman.h
vendored
@ -3,7 +3,7 @@
|
||||
* mman-win32
|
||||
*/
|
||||
|
||||
#ifndef _SYS_MMAN_H_
|
||||
#ifndef _SYS_MMAN_H_ // NOLINT(build/header_guard)
|
||||
#define _SYS_MMAN_H_
|
||||
|
||||
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
|
||||
|
Loading…
Reference in New Issue
Block a user