Derek Bankieris
9b7e18af15
Create link_list files for Trickification
...
ICG and make_makefile_swig create py_link_list and io_link_list files
listing the files to be linked during sim builds. Trickified projects
require slightly altered lists.
Fixes #1155
2021-06-02 13:56:21 -05:00
Scott Fennell
b4d76559eb
edit call to setLangOpts in icg main.cpp to support llvm-12 interface #1138 ( #1139 )
...
closes #1138
2021-04-30 11:15:38 -05:00
Scott Fennell
9589c1062c
in ICG: Add FileSkipped preprocessor callback to FindTrickICG ( #1125 )
...
* #608 add implementation of FileSkipped callback to FindTrickICG to add include chains for headers that have already been preprocessed
* #608 add test SIM for FindTrickICG offsets SIM_test_icg_file_skipped
2021-04-19 19:34:17 -05:00
Derek Bankieris
10b16d9f31
Check paths against TRICK_HOME in HeaderSearchDirs
...
Closes #1115
2021-03-02 12:43:10 -06:00
Derek Bankieris
c428bce49d
Add support for references in MM::ref_name
...
Add an AO_DEREFERENCE ADDRESS_NODE to R->address_path and dereference the
address for REF2->address
2021-02-11 17:36:43 -06:00
Derek Bankieris
8e3726eb98
Mark references as such in ICG
2021-02-11 17:36:43 -06:00
Scott Fennell
c0791b46d9
icg default constructor is deleted ( #1109 )
...
* check if default constructor is deleted #1094
* unit test icg deleted default constructor #1094
* Update centos 7 swig version to 3.0 to support deleted function in SIM_deleted_default_constructor test
Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
closes #1094
2021-02-05 19:32:36 -06:00
Scott Fennell
7277b16017
#1063 move sim service xml file ( #1069 )
...
Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
2020-10-23 15:45:32 -05:00
Scott Fennell
6618d09c15
issue 1065 llvm 11 support ( #1066 )
...
* # 1065 all LLVM::StrRefs need to use str() to convert to std::string now
* #1065 retain backwards compatibility for llvm 3.4.2 (RHEL 7)
closes #1065
Co-authored-by: Scott Fennell <sfennell@Scotts-MacBook-Pro.local>
2020-10-21 22:33:53 -05:00
Scott Fennell
5bb32279b5
1053, 1009, 1054 cmake update ( #1055 )
...
* #1053 #1009 cmake configure correct clang libs
* #1054 fix sie-rework to be compatible with CMake build
closes #1053 closes #1009 closes #1054
2020-09-13 18:38:35 -05:00
Scott Fennell
c9f060c94f
1036 1007 only enable cpp11 in Makefile_io_src when needed ( #1052 )
...
Enable c++11 flag only on GCC < 6. Also enable c++14 if Clang is being used.
2020-09-09 01:43:32 -05:00
Scott Fennell
f825dc00fc
Merge test branch into master ( #1047 )
...
* #1041 filter -W workaround for ICG linking to LLVM 10 libclang-cpp.so (#1044 )
* 1043 drg checkpoint memory leak (#1045 )
* #1043 drg fix drg checkpoint memory leak
* 947 sie generation rework (#1046 )
generate S_sie.resource at during build instead of runtime
2020-09-01 15:55:19 -05:00
Scott Fennell
3b89cbfdb2
iss #1009 ( #1040 )
...
Link correct clang libs based on availability. ICG clang lib link flags are determined by trick/configure
2020-08-28 14:52:23 -05:00
Scott Fennell
ba94c8181d
#1038 filter -llibxml2.tbd from llvm-config --system-libs as temporary workaround for missing library ( #1039 )
2020-08-18 15:11:28 -05:00
Derek Bankieris
6613669989
Fix trick_exclude_typename
...
Closes #985
2020-04-17 14:09:37 -05:00
Derek Bankieris
5f8a411538
Replace : in ConstructValues::mangle_template_param
...
Closes #983
2020-04-17 09:48:52 -05:00
Alex Lin
67fd753736
ICG won't build with LLVM 10.0 #976 ( #977 )
...
As usual a new LLVM version brings changes. Found that ICG needs
to be built with c++14. Also found a couple of API changes in main.
Enclosed the changes in ifdef statements.
2020-03-31 11:40:30 -05:00
Scott Fennell
03bcbfa119
add space for null char in buffer in ICG main
2020-02-11 10:41:09 -06:00
Alex Lin
83338c4957
cmake scripts do not work for CentOS7 #914
...
Updated minimum cmake version to 3.1
Added checks in findllvm script to handle old 3.4 LLVM version
Added back include directories needed by old LLVM version in ICG.
2019-11-22 08:12:54 -06:00
Alex Lin
60a1a0558f
Oops, didn't put the #endif in the right place
2019-11-19 10:59:28 -06:00
Alex Lin
ce0cdc9636
Cmake merge ( #901 )
...
* Merging changes from cmake branch to master
* Fixing includes for renamed header files
* still need build rule
* Adding warning for swig code for gcc8+
* Adding CMakeLists.txt for data products
* Cmake merge #901
Making adjustments to get cmake working on the Mac (Mojave)
* Cmake merge #901
Changing string append to list append
2019-11-19 09:01:16 -06:00
Derek Bankieris
1f33406c95
Don't trace TRICK_EXT_LIB_DIRS lib deps in CP
...
Refs #871
2019-10-07 14:12:06 -05:00
sfennell
8ac5cf7a59
changes to support llvm 9.0 closes #869
2019-09-27 16:04:16 -05:00
sfennell
5004f95fdd
changes to support llvm 9.0 closes #869
2019-09-27 14:58:54 -05:00
Scott Fennell
f10e4e8d93
remove deprecated std::ptr_fun and std::not1 closes #864
2019-09-23 14:25:27 -05:00
Scott Fennell
238b376b14
use almostRealPath instead of realpath closes #857
2019-09-10 11:13:57 -05:00
Scott Fennell
e798fde189
move misplaced parentheses to include enum headers closes #856
2019-09-05 14:47:10 -05:00
Derek Bankieris
67decaed24
Add support for -isystem
...
Closes #407
2019-06-20 10:12:33 -05:00
Alex Lin
497f11f132
Make TRICK_CXX variable to specify c++ compiler #767 ( #815 )
...
Changed all references of TRICK_CPPC to TRICK_CXX. Added a
warning message that TRICK_CPPC has been deprecated.
2019-06-18 11:00:08 -05:00
Alex Lin
187fa37540
Remove suppression of units conversion warnings in 19 #789 ( #814 )
...
Removed checks on dead units conversion messenger. Units conversion
messages cannot be suppressed. Added deprecated messages to the functions
that modified the message printouts.
2019-06-18 10:59:51 -05:00
Alex Lin
78b5a0c692
Optionally use 'cio' in place of 'trick_chkpnt_io' field #749
...
Added an alias to use cio for trick_chkpnt_io and io for trick_io.
2019-06-14 07:43:37 -05:00
Derek Bankieris
7b0e84e58e
Clean up duplication in makefiles
...
Normalize behavior of TRICK_VERBOSE_BUILD
Closes #746
2019-05-30 15:47:07 -05:00
Derek Bankieris
4611db2e92
Merge branch 'master' of https://github.com/nasa/trick
2019-04-09 13:20:01 -05:00
Derek Bankieris
f1ef983143
Change unbold ascii escape sequence from 21 to 22
...
21m as unbold is not well supported and sometimes causes
double-underline instead
2019-04-09 13:18:02 -05:00
Scott Fennell
49e243b54a
Merge branch 'master' into VERBOSE-synonym
2019-04-02 13:34:52 -05:00
Alex Lin
6a84ae548b
Merge branch 'master' of https://github.com/nasa/trick
2019-03-26 17:10:16 -05:00
Alex Lin
b29a117902
ICG does not compile with LLVM 8.0 #747
...
getLocEnd got changed to getEndLoc. Made a LLVM version based macro
to handle both.
2019-03-26 17:03:11 -05:00
Scott Fennell
644a9a0e00
#741 add VERBOSE synonym everywhere
2019-03-21 09:28:52 -05:00
dbankieris
6eeb4cee80
Merge pull request #736 from nasa/688
...
Include Trickified classes/enums in S_sie.resource
2019-02-20 14:13:12 -06:00
Derek Bankieris
8658f33f64
Include Trickified classes/enums in S_sie.resource
...
Fixes #688
2019-02-20 13:21:14 -06:00
Derek Bankieris
294e8c9e40
Correct forward-declaration-detection logic in ICG
...
Fixes #724
2019-02-14 10:55:55 -06:00
Scott Fennell
21c01a5454
scan-build changes
...
This reverts commit e86027f825
.
2018-11-06 11:23:12 -06:00
Scott Fennell
e86027f825
revert scan-build changes, need further testing before merge
2018-10-22 15:11:29 -05:00
Scott Fennell
bc35e64406
Merge pull request #673 from nasa/#scan-build
...
#671 fix all non memory manager scan-build bugs.
2018-10-20 13:16:35 -05:00
Pappy Van Winkle
af2575da5b
Remove all unused variables (style warning).
2018-10-11 22:05:50 -05:00
Scott Fennell
6619ecb92f
move commented prints in FieldDescription to debug_level 4
2018-09-27 08:10:05 -05:00
Scott Fennell
a9f84d1d9f
various static analyser bug fixes
2018-09-26 14:27:03 -05:00
Scott Fennell
77e0e73b3f
various static analyser bug fixes
2018-09-25 10:41:14 -05:00
Alex Lin
6ce60cb2ec
Is Trick ICG missing some uses of TRICK_ICG #608
...
Some functions changed signatures in 3.5, others in 3.7.
2018-05-18 08:38:28 -05:00
Alex Lin
be6f9dc855
Trick will not compile with llvm 6.0 and Xcode 9.2 on the mac. #579
...
Found a new language option we need to set in ICG when llvm >= 6.0 to parse
header files correctly. The option is DoubleSquareBracketAttributes.
2018-05-07 16:26:20 -05:00