Skip to content
  • Nikolai Kosjar's avatar
    C++: Fix highlighting after "invalid code" · beac7b95
    Nikolai Kosjar authored
    
    
    For the semantic info document we do not expand function like macros and
    because of that certain macro invocations lead to invalid code that we
    need to handle, e.g.:
    
    	Q_GLOBAL_STATIC(CppTools::SymbolFinder, symbolFinder)
    	class Foo {};
    
    This change makes parsing Foo in the semantic info document successfully
    again, which affects highlighting of that class.
    
    Change-Id: I389265ac64d3f0b8b8f406d38fa58d78820b14ba
    Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@theqtcompany.com>
    beac7b95