-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a dependency node issue that I was able to reproduce like this:
source.cpp: int foo() { return Foo; } forward.h: header.h: enum { Foo = 1 }; CMakeLists.txt: cmake_minimum_required(VERSION 2.8) include_directories(${CMAKE_CURRENT_LIST_DIR}) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") add_library(app source.cpp) rc -W $PWD; rc -w "indexing project. all good"; sleep 1; rc -J; sleep 1; rc -w "moving file away"; sleep 1; mv forward.h /tmp/; sleep 1; touch source.cpp ; sleep 1; rc -w "moving file back"; sleep 1; mv /tmp/forward.h .; sleep 1 ; touch source.cpp; rc -w "touching header.h should reindex"; touch header.h
- Loading branch information
1 parent
09939bc
commit 3b3ace9
Showing
3 changed files
with
38 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters