Clang: Don't set a translation unit dirty if the main file is deleted
If a file is deleted the translation unit should be not updated. It will be
later removed anyway.
Task-number: QTCREATORBUG-15070
Change-Id: I40c9c70629dab1d35b713d54442ffdbb2df3db43
Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Showing
- src/tools/clangbackend/ipcsource/translationunit.cpp 9 additions, 1 deletionsrc/tools/clangbackend/ipcsource/translationunit.cpp
- src/tools/clangbackend/ipcsource/translationunit.h 1 addition, 0 deletionssrc/tools/clangbackend/ipcsource/translationunit.h
- tests/unit/unittest/translationunittest.cpp 44 additions, 15 deletionstests/unit/unittest/translationunittest.cpp
Please register or sign in to comment