Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: runtime/vm/cpu_arm.h

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/constants_x64.h ('k') | runtime/vm/cpu_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cpu_arm.h
diff --git a/runtime/vm/cpu_arm.h b/runtime/vm/cpu_arm.h
index b0e43f7af563e511db5c5cb3ac9983d4768ef0a5..8e7c4aad0549420f6577555932bfb823bd6ae796 100644
--- a/runtime/vm/cpu_arm.h
+++ b/runtime/vm/cpu_arm.h
@@ -25,7 +25,7 @@ enum ARMVersion {
ARMvUnknown,
};
-class HostCPUFeatures: public AllStatic {
+class HostCPUFeatures : public AllStatic {
public:
static void InitOnce();
static void Cleanup();
@@ -92,36 +92,20 @@ class HostCPUFeatures: public AllStatic {
class TargetCPUFeatures : public AllStatic {
public:
- static void InitOnce() {
- HostCPUFeatures::InitOnce();
- }
- static void Cleanup() {
- HostCPUFeatures::Cleanup();
- }
- static bool double_truncate_round_supported() {
- return false;
- }
+ static void InitOnce() { HostCPUFeatures::InitOnce(); }
+ static void Cleanup() { HostCPUFeatures::Cleanup(); }
+ static bool double_truncate_round_supported() { return false; }
static bool integer_division_supported() {
return HostCPUFeatures::integer_division_supported();
}
- static bool vfp_supported() {
- return HostCPUFeatures::vfp_supported();
- }
+ static bool vfp_supported() { return HostCPUFeatures::vfp_supported(); }
static bool can_divide() {
return integer_division_supported() || vfp_supported();
}
- static bool neon_supported() {
- return HostCPUFeatures::neon_supported();
- }
- static bool hardfp_supported() {
- return HostCPUFeatures::hardfp_supported();
- }
- static const char* hardware() {
- return HostCPUFeatures::hardware();
- }
- static ARMVersion arm_version() {
- return HostCPUFeatures::arm_version();
- }
+ static bool neon_supported() { return HostCPUFeatures::neon_supported(); }
+ static bool hardfp_supported() { return HostCPUFeatures::hardfp_supported(); }
+ static const char* hardware() { return HostCPUFeatures::hardware(); }
+ static ARMVersion arm_version() { return HostCPUFeatures::arm_version(); }
static intptr_t store_pc_read_offset() {
return HostCPUFeatures::store_pc_read_offset();
}
« no previous file with comments | « runtime/vm/constants_x64.h ('k') | runtime/vm/cpu_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698