cf6d17584f566b0b54e22b7c9cc40c1fd4abb575
This change adds structures for saving TokenLocations in the Storage and improves the location derival in the ASTVisitor: * TokenLocation saves an Id of a Token. For each Token two TokenLocations are created for both start- and endpoint. They keep a reference to each other and know whether they are start or end. * TokenLocationLine saves all TokenLocations in a line and the lineNumber. * TokenLocationFile saves all TokenLocationLines of a specific file and the filePath. * TokenLocationCollection saves multiple TokenLocationFiles. * TokenLocation can derive it's lineNumber and filePath through references to first TokenLocationLine and from there to TokenLocationFile.
Masterproject
Setup
External Software
- QT 5.2.1
- CxxTest 4.3
- Valgrind 3.9.0(linux, macOS)
- Clang & LLVM (installation guide http://clang.llvm.org/docs/LibASTMatchersTutorial.html)
- Boost 1.55 ()
Environment Variables
- QT_DIR - ...\Qt\Qt5.2.1\5.2.1<IDE>\
- CXX_TEST_DIR - .../cxxtest-4.3/
- CLANG_DIR - .../clang-llvm/
- BOOST_155_DIR - .../boost_1_55_0
For Win32:
- VLD_DIR - .../Visual Leak Detector
Settings
Run setup script: $ ./script/setup.sh
Languages
C++
63.4%
Java
32.7%
CMake
1.6%
Shell
1.1%
CSS
0.6%
Other
0.4%