TODO 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. done use valid HeaderParser instance in setup (don't try to test bad file name)
  2. done not needed clang doesn't use exceptions create a class to test exception with bad file
  3. done finish HeaderParser(), addSourceFile and addSearchPath
  4. done create an inline initializeCompilerInstance
  5. done set clang::InitializePreprocessor (line 99 in gears.cpp) in parse method
  6. done remove gears.h , .cpp
  7. done continue test default constructor
  8. done test with args constructor
  9. done full test of parsing
  10. done add tests for EnumConstant, Parameter, Field
  11. done add tests for Type
  12. done remove getInternalTypePtr test and the others
  13. done see for pb isCanonical see mail and const RecordType * getAsStructureType() const then TagDecl * getDecl() const
  14. done create a method in order to get the represented clang class (getInternalClangTypeClassName() )
  15. done find all the QualType methods that returns another QualType
  16. done add isMain() method to Function class
  17. done update swig lib
  18. done add option to force parsing on only main file:
  19. TODO update interface for Parameter and Field
  20. * done remove getParameters
  21. * done remove getFields
  22. * done remove getConstants
  23. TODO try to get global variables
  24. TODO find a way in order to get Decl from typedef -> Type
  25. ###########C++ sources parsing
  26. TODO handle class and methods
  27. TODO add c++ ability with :CompilerInvocation::setLangDefaults(languageOptions, IK_CXX); setLangDefaults + InputKind
  28. and http://www.ibm.com/developerworks/linux/library/os-createcompilerllvm2/index.html?ca=drs-#list15
  29. where to do specify it ?
  30. HeaderParser constructor with default langage C
  31. HeaderParser::parse(std::string langage)
  32. !!!!http://stackoverflow.com/questions/23327997/failing-to-parse-c-using-llvm-and-clang
  33. done create tests for those methods