[pulse] Fix linting issue

Reviewed By: jvillard

Differential Revision: D23758187

fbshipit-source-id: 4d9f47e66
master
Sungkeun Cho 4 years ago committed by Facebook GitHub Bot
parent 88eb380cc3
commit d13ae13a71

@ -2975,7 +2975,7 @@ module CTrans_funct (F : CModule_type.CFrontend) : CModule_type.CTranslation = s
objCArrayDictLiteral_trans trans_state expr_info stmt_info stmts method_pointer objCArrayDictLiteral_trans trans_state expr_info stmt_info stmts method_pointer
(** Translates an dictionary literal @ [ @"firstName": @"Foo", @"lastName":@"Bar" ] to (** Translates an dictionary literal [@\[ @"firstName": @"Foo", @"lastName":@"Bar" \]] to
{[ {[
n$1=NSString.stringWithUTF8:(@"firstName") n$1=NSString.stringWithUTF8:(@"firstName")

@ -939,9 +939,9 @@ module ProcNameDispatcher = struct
$--> StdFunction.assign ~desc:"std::function::operator=" $--> StdFunction.assign ~desc:"std::function::operator="
; +map_context_tenv (PatternMatch.Java.implements_lang "Object") ; +map_context_tenv (PatternMatch.Java.implements_lang "Object")
&:: "clone" $ capt_arg_payload $--> JavaObject.clone &:: "clone" $ capt_arg_payload $--> JavaObject.clone
; +map_context_tenv (PatternMatch.Java.implements_lang "System") ; ( +map_context_tenv (PatternMatch.Java.implements_lang "System")
&:: "arraycopy" $ capt_arg_payload $+ any_arg $+ capt_arg_payload &:: "arraycopy" $ capt_arg_payload $+ any_arg $+ capt_arg_payload
$+...$--> (fun src dest -> Misc.shallow_copy_model "System.arraycopy" dest src ) $+...$--> fun src dest -> Misc.shallow_copy_model "System.arraycopy" dest src )
; -"std" &:: "atomic" &:: "atomic" <>$ capt_arg_payload $+ capt_arg_payload ; -"std" &:: "atomic" &:: "atomic" <>$ capt_arg_payload $+ capt_arg_payload
$--> StdAtomicInteger.constructor $--> StdAtomicInteger.constructor
; -"std" &:: "__atomic_base" &:: "fetch_add" <>$ capt_arg_payload $+ capt_arg_payload ; -"std" &:: "__atomic_base" &:: "fetch_add" <>$ capt_arg_payload $+ capt_arg_payload
@ -1049,10 +1049,10 @@ module ProcNameDispatcher = struct
; +map_context_tenv PatternMatch.Java.implements_queue ; +map_context_tenv PatternMatch.Java.implements_queue
&::+ (fun _ str -> StringSet.mem str pushback_modeled) &::+ (fun _ str -> StringSet.mem str pushback_modeled)
<>$ capt_arg_payload $+...$--> StdVector.push_back <>$ capt_arg_payload $+...$--> StdVector.push_back
; +map_context_tenv( PatternMatch.Java.implements_lang "StringBuilder") ; +map_context_tenv (PatternMatch.Java.implements_lang "StringBuilder")
&::+ (fun _ str -> StringSet.mem str pushback_modeled) &::+ (fun _ str -> StringSet.mem str pushback_modeled)
<>$ capt_arg_payload $+...$--> StdVector.push_back <>$ capt_arg_payload $+...$--> StdVector.push_back
; +map_context_tenv( PatternMatch.Java.implements_lang "StringBuilder") ; +map_context_tenv (PatternMatch.Java.implements_lang "StringBuilder")
&:: "setLength" <>$ capt_arg_payload &:: "setLength" <>$ capt_arg_payload
$+...$--> StdVector.invalidate_references ShrinkToFit $+...$--> StdVector.invalidate_references ShrinkToFit
; +map_context_tenv (PatternMatch.Java.implements_lang "String") ; +map_context_tenv (PatternMatch.Java.implements_lang "String")
@ -1078,7 +1078,7 @@ module ProcNameDispatcher = struct
; +map_context_tenv PatternMatch.Java.implements_enumeration ; +map_context_tenv PatternMatch.Java.implements_enumeration
&:: "hasMoreElements" &:: "hasMoreElements"
&--> Misc.nondet ~fn_name:"Enumeration.hasMoreElements()" &--> Misc.nondet ~fn_name:"Enumeration.hasMoreElements()"
; +map_context_tenv( PatternMatch.Java.implements_lang "Object") ; +map_context_tenv (PatternMatch.Java.implements_lang "Object")
&:: "equals" &:: "equals"
&--> Misc.nondet ~fn_name:"Object.equals" &--> Misc.nondet ~fn_name:"Object.equals"
; +map_context_tenv (PatternMatch.Java.implements_lang "Iterable") ; +map_context_tenv (PatternMatch.Java.implements_lang "Iterable")

Loading…
Cancel
Save