summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/annotate-nested-name-specifier.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-03-16 19:17:25 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-03-16 19:17:25 +0000
commitd6278e3252f6fc04a954bf42d8fdd02a960657aa (patch)
tree48c6aae96a55dcdcec5ebcd57e8eba1a64a46642 /clang/test/Index/annotate-nested-name-specifier.cpp
parent89f3cd5c1521205f977c8d80438aef063742b7bb (diff)
downloadbcm5719-llvm-d6278e3252f6fc04a954bf42d8fdd02a960657aa.tar.gz
bcm5719-llvm-d6278e3252f6fc04a954bf42d8fdd02a960657aa.zip
Having FileManager::getFile always open the file, brought much consternation and leaking of file descriptors.
Add 'openFile' bool to FileManager::getFile to specify whether we want to have the file opened or not, have it false by default, and enable it only in HeaderSearch.cpp where the open+fstat optimization matters. Fixes rdar://9139899. llvm-svn: 127748
Diffstat (limited to 'clang/test/Index/annotate-nested-name-specifier.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud