Go to file
Sam McCall e84385fef8 [FileManager] getFile(open=true) after getFile(open=false) should open the file.
Summary:
Old behavior is to just return the cached entry regardless of opened-ness.
That feels buggy (though I guess nobody ever actually needed this).

This came up in the context of clangd+clang-tidy integration: we're
going to getFile(open=false) to replay preprocessor actions obscured by
the preamble, but the compilation may subsequently getFile(open=true)
for non-preamble includes.

Reviewers: ilya-biryukov

Subscribers: ioeric, kadircet, cfe-commits

Differential Revision: https://reviews.llvm.org/D54691

llvm-svn: 347205
2018-11-19 13:37:46 +00:00
clang [FileManager] getFile(open=true) after getFile(open=false) should open the file. 2018-11-19 13:37:46 +00:00
clang-tools-extra Add the abseil-duration-factory-scale check. 2018-11-18 16:41:06 +00:00
compiler-rt [hwasan] don't check tail magic when in right_align mode (should fix the bot) 2018-11-17 01:02:09 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc r600: Add datalayout to image builtin implementation 2018-11-10 21:43:40 +00:00
libcxx [libcxx] Add missing includes in tests 2018-11-16 19:52:47 +00:00
libcxxabi [CMake] Passthrough CFLAGS when checking the compiler-rt path 2018-11-14 00:09:26 +00:00
libunwind [CMake] Passthrough CFLAGS when checking the compiler-rt path 2018-11-14 00:09:26 +00:00
lld Support ARM_V4BX relocation 2018-11-16 19:24:45 +00:00
lldb Remove unused variable. NFC. 2018-11-19 10:59:12 +00:00
llgo
llvm [llvm-exegesis] (+final perf overview) InstructionBenchmarkClustering::rangeQuery(): reserve for the upper bound of Neighbors 2018-11-19 13:28:41 +00:00
openmp Fix for bugzilla https://bugs.llvm.org/show_bug.cgi?id=39137. 2018-11-14 13:49:41 +00:00
parallel-libs
polly [CMake] Fix generation of exported targets in build directory 2018-11-06 15:18:17 +00:00
README.md Update the project name in README.md 2018-10-19 00:03:01 +00:00

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.