From 03a727143abdde3714ea92683087d8872d077237 Mon Sep 17 00:00:00 2001 From: Martino Luca Date: Fri, 29 Sep 2017 04:04:29 -0700 Subject: [PATCH] Remove previous_decl field from ast_expressions.ml Summary: Its value is unused in Infer and is constantly emitted as None from facebook-clang-plugins, so it was also removed from facebook-clang-plugins (https://github.com/facebook/facebook-clang-plugins/commit/a96c39601fb42c040161f5936107c92a38d83124) update-submodule: facebook-clang-plugins Reviewed By: jvillard Differential Revision: D5940900 fbshipit-source-id: e7fd6ae --- facebook-clang-plugins | 2 +- infer/src/clang/ast_expressions.ml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/facebook-clang-plugins b/facebook-clang-plugins index 4af7ff7ad..a96c39601 160000 --- a/facebook-clang-plugins +++ b/facebook-clang-plugins @@ -1 +1 @@ -Subproject commit 4af7ff7ad4438a79a0dbc1bd9cd902224754a5e3 +Subproject commit a96c39601fb42c040161f5936107c92a38d83124 diff --git a/infer/src/clang/ast_expressions.ml b/infer/src/clang/ast_expressions.ml index 56c1595cc..8a4914a2b 100644 --- a/infer/src/clang/ast_expressions.ml +++ b/infer/src/clang/ast_expressions.ml @@ -29,7 +29,6 @@ let fresh_decl_info decl_info = let empty_decl_info = { Clang_ast_t.di_pointer= CAst_utils.get_invalid_pointer () ; di_parent_pointer= None - ; di_previous_decl= `None ; di_source_range= dummy_source_range () ; di_owning_module= None ; di_is_hidden= false