Update facebook-clang-plugins version

Summary: public
New version:
dumps template function specializations
does some changes to setup/makefiles to make them better

Reviewed By: jvillard

Differential Revision: D2707355

fb-gh-sync-id: 0213138
master
Andrzej Kotulski 9 years ago committed by facebook-github-bot-1
parent 1aa354cf1f
commit 1349492e57

@ -1 +1 @@
Subproject commit 8ae673bc2714af3d8b377676f22b8ba1bc91073b
Subproject commit 48b57c1e897bf70fb2aab68e95628c4c7de42570

@ -34,7 +34,7 @@ let decl_get_sub_decls decl =
| NamespaceDecl (_, _, decl_list, _, _) ->
decl_list
| ClassTemplateDecl (_, _, class_template_decl_info) ->
class_template_decl_info.ctdi_specializations
class_template_decl_info.tdi_specializations
| _ ->
[]
@ -66,7 +66,7 @@ let decl_set_sub_decls decl decl_list' =
| NamespaceDecl (decl_info, name, decl_list, decl_context_info, namespace_decl_info) ->
NamespaceDecl (decl_info, name, decl_list', decl_context_info, namespace_decl_info)
| ClassTemplateDecl (decl_info, name, class_template_decl_info) ->
let class_template_decl_info' = { ctdi_specializations = decl_list' } in
let class_template_decl_info' = { tdi_specializations = decl_list' } in
ClassTemplateDecl (decl_info, name, class_template_decl_info')
| _ ->
decl

@ -100,7 +100,7 @@ let rec translate_one_declaration tenv cg cfg parent_dec dec =
| NamespaceDecl (decl_info, name_info, decl_list, decl_context_info, _) ->
IList.iter (translate_one_declaration tenv cg cfg dec) decl_list
| ClassTemplateDecl (decl_info, named_decl_info, class_template_decl_info) ->
let decl_list = class_template_decl_info.Clang_ast_t.ctdi_specializations in
let decl_list = class_template_decl_info.Clang_ast_t.tdi_specializations in
IList.iter (translate_one_declaration tenv cg cfg dec) decl_list
| dec -> ()

Loading…
Cancel
Save