Remove semicolons after JS_STATIC_foo macros, turn on -Wextra-semi
These macros all define functions, so no semicolons after them.
Bug: chromium:926235
Change-Id: Ia0c3cbebd8b5a2baafd7d1104563ef77f91b1cbf
Reviewed-on: https://pdfium-review.googlesource.com/c/50551
Commit-Queue: Nico Weber <thakis@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/fxjs/cjs_event.h b/fxjs/cjs_event.h
index 4b55788..b2fa4dc 100644
--- a/fxjs/cjs_event.h
+++ b/fxjs/cjs_event.h
@@ -18,26 +18,26 @@
CJS_Event(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
~CJS_Event() override;
- JS_STATIC_PROP(change, change, CJS_Event);
- JS_STATIC_PROP(changeEx, change_ex, CJS_Event);
- JS_STATIC_PROP(commitKey, commit_key, CJS_Event);
- JS_STATIC_PROP(fieldFull, field_full, CJS_Event);
- JS_STATIC_PROP(keyDown, key_down, CJS_Event);
- JS_STATIC_PROP(modifier, modifier, CJS_Event);
- JS_STATIC_PROP(name, name, CJS_Event);
- JS_STATIC_PROP(rc, rc, CJS_Event);
- JS_STATIC_PROP(richChange, rich_change, CJS_Event);
- JS_STATIC_PROP(richChangeEx, rich_change_ex, CJS_Event);
- JS_STATIC_PROP(richValue, rich_value, CJS_Event);
- JS_STATIC_PROP(selEnd, sel_end, CJS_Event);
- JS_STATIC_PROP(selStart, sel_start, CJS_Event);
- JS_STATIC_PROP(shift, shift, CJS_Event);
- JS_STATIC_PROP(source, source, CJS_Event);
- JS_STATIC_PROP(target, target, CJS_Event);
- JS_STATIC_PROP(targetName, target_name, CJS_Event);
- JS_STATIC_PROP(type, type, CJS_Event);
- JS_STATIC_PROP(value, value, CJS_Event);
- JS_STATIC_PROP(willCommit, will_commit, CJS_Event);
+ JS_STATIC_PROP(change, change, CJS_Event)
+ JS_STATIC_PROP(changeEx, change_ex, CJS_Event)
+ JS_STATIC_PROP(commitKey, commit_key, CJS_Event)
+ JS_STATIC_PROP(fieldFull, field_full, CJS_Event)
+ JS_STATIC_PROP(keyDown, key_down, CJS_Event)
+ JS_STATIC_PROP(modifier, modifier, CJS_Event)
+ JS_STATIC_PROP(name, name, CJS_Event)
+ JS_STATIC_PROP(rc, rc, CJS_Event)
+ JS_STATIC_PROP(richChange, rich_change, CJS_Event)
+ JS_STATIC_PROP(richChangeEx, rich_change_ex, CJS_Event)
+ JS_STATIC_PROP(richValue, rich_value, CJS_Event)
+ JS_STATIC_PROP(selEnd, sel_end, CJS_Event)
+ JS_STATIC_PROP(selStart, sel_start, CJS_Event)
+ JS_STATIC_PROP(shift, shift, CJS_Event)
+ JS_STATIC_PROP(source, source, CJS_Event)
+ JS_STATIC_PROP(target, target, CJS_Event)
+ JS_STATIC_PROP(targetName, target_name, CJS_Event)
+ JS_STATIC_PROP(type, type, CJS_Event)
+ JS_STATIC_PROP(value, value, CJS_Event)
+ JS_STATIC_PROP(willCommit, will_commit, CJS_Event)
private:
static int ObjDefnID;