* Incorporate llvm 18 changes.
* Fixed to set input file properly for clang3.4 or ealier.
* Fixed missing brackets and added the rule back for the condition to call clang init preprocessor which was taken out incorrectly by the last commit.
* Updated not to add "friend class" to embedded private list so it can be accessed.
* Added a list to hold all friends class decl so able to specifically make sure not to remove them from io source but not to allow is source for others.
* Added namespaces to class names for comparison as class name only needs to be unique within the same namespace.
* Added if NULL check before getting friend decl type string.
Made a couple of changes in ICG source code to handle clang API differences. Encapsulated
differences in ifdefs. Added libclangSupport to ICG link line.
* Replace sprintf with snprintf in all of Trick source. #1384
* Don't add -Werror for MacOS because of deprecated sprintf warnings which we cant get rid of because SWIG. #1384
* Fixed an unbalanced parenthesis in S_overrides.mk. #1384
* #1219 added code to check reference mod bit in ClassicCheckPointAgent::getCompositeSubReference, use reference width instead of size.
* #1219 refactor getCompositeSubReference for readability
* #1219 and #1223 add reference width to mod bits in ICG
* check for mod bits in TRICK_STRUCTURED section, refactor function
* #1219 adding MM_ref_name_from_address tests
* #1224 fix logic for offset into arrayed struct
closes#1219closes#1223closes#1224
Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
* Fix ICG errors while processing system header files closes#1189
Found an InitPreprocessor call and am using it. Not sure which version
of clang it was added, just using for the version I'm on (10) and above.
Also found some GCC defines that are used during normal compilation.
Added these to our list of defines during ICG. This clears up all of
the errors I've been seeing.
* Fix ICG errors while processing system header files #1189
OK, found the flag that activates the ATOMIC defines I was previously
hardcoding.
* #1194 add trick-system-icg-exclude
Co-authored-by: Alex Lin <alexander.s.lin@nasa.gov>
* Fix ICG errors while processing system header files #1189
Found an InitPreprocessor call and am using it. Not sure which version
of clang it was added, just using for the version I'm on (10) and above.
Also found some GCC defines that are used during normal compilation.
Added these to our list of defines during ICG. This clears up all of
the errors I've been seeing.
* Fix ICG errors while processing system header files #1189
OK, found the flag that activates the ATOMIC defines I was previously
hardcoding.
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
* #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
* 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
* # 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>
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.
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.
* 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