[compiler-rt] r317390 - [scudo] Rearrange #include order
Kostya Kortchinsky via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 3 16:48:25 PDT 2017
Author: cryptoad
Date: Fri Nov 3 16:48:25 2017
New Revision: 317390
URL: http://llvm.org/viewvc/llvm-project?rev=317390&view=rev
Log:
[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
Modified:
compiler-rt/trunk/lib/scudo/scudo_utils.h
Modified: compiler-rt/trunk/lib/scudo/scudo_utils.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/scudo/scudo_utils.h?rev=317390&r1=317389&r2=317390&view=diff
==============================================================================
--- compiler-rt/trunk/lib/scudo/scudo_utils.h (original)
+++ compiler-rt/trunk/lib/scudo/scudo_utils.h Fri Nov 3 16:48:25 2017
@@ -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));
More information about the llvm-commits
mailing list