mirror of
https://github.com/nasa/trick.git
synced 2025-06-22 08:50:06 +00:00
Refactor ICG
Hey buddy. I wanted to tell you this before you heard it from someone else... I refactored ICG. Now, it's gonna look a little scary at first. But I promise you'll like it when you get used to it. It'll be fine. You can trust me. #341
This commit is contained in:
@ -22,7 +22,6 @@
|
||||
#include "CommentSaver.hh"
|
||||
#include "TranslationUnitVisitor.hh"
|
||||
#include "PrintAttributes.hh"
|
||||
#include "PrintAttributesFactory.hh"
|
||||
#include "Utilities.hh"
|
||||
|
||||
/* Command line arguments. These work better as globals, as suggested in llvm/CommandLine documentation */
|
||||
@ -65,9 +64,9 @@ int main(int argc, char * argv[]) {
|
||||
*/
|
||||
llvm::cl::ParseCommandLineOptions(argc, argv);
|
||||
|
||||
if (!validAttributesVersion(attr_version)) {
|
||||
/*if (!validAttributesVersion(attr_version)) {
|
||||
return -1;
|
||||
}
|
||||
}*/
|
||||
|
||||
if (input_file_names.empty()) {
|
||||
std::cerr << "No header file specified" << std::endl;
|
||||
|
Reference in New Issue
Block a user