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

Unified Diff: runtime/vm/tags.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/symbols.cc ('k') | runtime/vm/tags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/tags.h
diff --git a/runtime/vm/tags.h b/runtime/vm/tags.h
index c6a0230ccc79a0507ac924a76c3308d23ac6f571..66ab39eee8e76649a14d12f1a4b8ad3254e6682f 100644
--- a/runtime/vm/tags.h
+++ b/runtime/vm/tags.h
@@ -14,9 +14,9 @@ class JSONObject;
class RuntimeEntry;
#define VM_TAG_LIST(V) \
- V(Idle) /* isolate is idle and is_runnable() */ \
- V(LoadWait) /* isolate is idle and !is_runnable() */ \
- V(VM) /* Catch all */ \
+ V(Idle) /* isolate is idle and is_runnable() */ \
+ V(LoadWait) /* isolate is idle and !is_runnable() */ \
+ V(VM) /* Catch all */ \
V(CompileOptimized) \
V(CompileUnoptimized) \
V(CompileClass) \
@@ -30,17 +30,16 @@ class RuntimeEntry;
V(GCOldSpace) \
V(Embedder) \
V(Runtime) \
- V(Native) \
+ V(Native)
class VMTag : public AllStatic {
public:
enum VMTagId {
kInvalidTagId = 0,
-#define DEFINE_VM_TAG_ID(tag) \
- k##tag##TagId,
+#define DEFINE_VM_TAG_ID(tag) k##tag##TagId,
VM_TAG_LIST(DEFINE_VM_TAG_ID)
#undef DEFINE_VM_TAG_KIND
- kNumVMTags,
+ kNumVMTags,
//
// All tags below |kNumVMTags| are special meta-data tags and do not
// indicate the state of the VM during a sample.
@@ -82,6 +81,7 @@ class VMTagScope : StackResource {
public:
VMTagScope(Thread* thread, uword tag, bool conditional_set = true);
~VMTagScope();
+
private:
uword previous_tag_;
« no previous file with comments | « runtime/vm/symbols.cc ('k') | runtime/vm/tags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698