Add .gitattributes

Add .gitattributes file to normalize line endings.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
Normalize all the line endings

Normalized all the line endings with:

git rm --cached -r .
git reset --hard
git add .
git commit -m "Normalize all the line endings"

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
Merge pull request #249 from tomba/normalize

Normalize line-endings
Skip dependent types when handling CLI type references.
Fixed crash when file path of a unit was invalid.
Improved support in parser for template classes and functions.

* Use clangIndex to identify declarations across translation units.
* Added new Find*ByUSR methods and removed unused Find*(IntPtr) methods.
* Added Depth/Index and IsParameterPack fields to TemplateParameterType.
* Fixed member initialization issues in C++ Method class.
* Added AST tests for function and class templates.
* All tests pass with new and old parser.
Improved template parsing error handling.

For an example of what can trigger it:

  template<typename _CharT, typename _Traits = char_traits<_CharT>,
           typename _Alloc = allocator<_CharT> >
    class basic_string;

  extern template class basic_string<char>;

Signed-off-by: Elias Holzer <elias@vvvv.org>
Applied "Improved template parsing error handling" to old parser.
Removed redundant code.
Increased the initial capacity of the used SmallString when generating a USR.