summaryrefslogtreecommitdiff
path: root/lib/scudo
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2017-11-03 23:48:25 +0000
committerKostya Kortchinsky <kostyak@google.com>2017-11-03 23:48:25 +0000
commit190571e05dde20e57f19acedb4988c00e6ad0b1b (patch)
treec8726ee8024a4be2d14db79bca1a04552f9751fe /lib/scudo
parent5167a32ff3c3f9c0d99df348610b8e4aaf707be2 (diff)
[scudo] Rearrange #include order
Summary: To be compliant with https://llvm.org/docs/CodingStandards.html#include-style, system headers have to come after local headers. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D39623 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@317390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/scudo')
-rw-r--r--lib/scudo/scudo_utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/scudo/scudo_utils.h b/lib/scudo/scudo_utils.h
index 13269195b..cb7300db9 100644
--- a/lib/scudo/scudo_utils.h
+++ b/lib/scudo/scudo_utils.h
@@ -14,10 +14,10 @@
#ifndef SCUDO_UTILS_H_
#define SCUDO_UTILS_H_
-#include <string.h>
-
#include "sanitizer_common/sanitizer_common.h"
+#include <string.h>
+
namespace __scudo {
template <class Dest, class Source>
@@ -34,7 +34,7 @@ enum CPUFeature {
CRC32CPUFeature = 0,
MaxCPUFeature,
};
-bool testCPUFeature(CPUFeature feature);
+bool testCPUFeature(CPUFeature Feature);
INLINE u64 rotl(const u64 X, int K) {
return (X << K) | (X >> (64 - K));