]> git.cworth.org Git - apitrace/blobdiff - common/trace_parser.cpp
Generated code formatting improvements.
[apitrace] / common / trace_parser.cpp
index 530c19a5a06fe00c7009a5cf7f7744971a0e41f1..17f4a154590ab2db7f809cadb5d21e15b7c589ea 100644 (file)
@@ -171,7 +171,7 @@ void Parser::setBookmark(const ParseBookmark &bookmark) {
 Call *Parser::parse_call(Mode mode) {
     do {
         int c = read_byte();
-        switch(c) {
+        switch (c) {
         case Trace::EVENT_ENTER:
             parse_enter(mode);
             break;
@@ -373,7 +373,7 @@ Call *Parser::parse_leave(Mode mode) {
 bool Parser::parse_call_details(Call *call, Mode mode) {
     do {
         int c = read_byte();
-        switch(c) {
+        switch (c) {
         case Trace::CALL_END:
             return true;
         case Trace::CALL_ARG:
@@ -409,7 +409,7 @@ Value *Parser::parse_value(void) {
     int c;
     Value *value;
     c = read_byte();
-    switch(c) {
+    switch (c) {
     case Trace::TYPE_NULL:
         value = new Null;
         break;
@@ -470,7 +470,7 @@ Value *Parser::parse_value(void) {
 
 void Parser::scan_value(void) {
     int c = read_byte();
-    switch(c) {
+    switch (c) {
     case Trace::TYPE_NULL:
     case Trace::TYPE_FALSE:
     case Trace::TYPE_TRUE: