llvm-capstone/clang
Nico Weber 51d938bc94 Fix bugs when an included file name is typo corrected.
D52774 fixed a bug with typo correction of includes, but didn't add
a test.

D65907 then broke recovery of typo correction of includes again,
because it extracted the code that writes to Filename to a separate
function that took the parameter not by reference.

Fix that, and also don't repeat the slash normalization computation
and fix both lookup and regular file name after recovery.

Differential Revision: https://reviews.llvm.org/D79595
2020-05-08 13:33:39 -04:00
..
bindings Revert "Temporarily revert "build: use find_package(Python3) if available"" 2020-04-29 01:38:08 +00:00
cmake Revert "[cmake] Allow std::filesystem tests in CrossWinToARMLinux.cmake" 2020-05-07 15:01:39 +03:00
docs Add a flag that controls if clang-tidy and clang-include-fixer are built into libclang. 2020-05-08 11:41:45 -04:00
examples
include Fix bugs when an included file name is typo corrected. 2020-05-08 13:33:39 -04:00
INPUTS
lib Fix bugs when an included file name is typo corrected. 2020-05-08 13:33:39 -04:00
runtime
test Fix bugs when an included file name is typo corrected. 2020-05-08 13:33:39 -04:00
tools Add a flag that controls if clang-tidy and clang-include-fixer are built into libclang. 2020-05-08 11:41:45 -04:00
unittests [clang-format] [PR45639] clang-format splits up the brackets of C++17 attribute [[ ]] when used with the first parameter 2020-05-07 22:00:04 +01:00
utils [SveEmitter] Add builtins for svqadd, svqsub and svdot 2020-05-07 12:28:18 +01:00
www [www] Update make_cxx_dr_status for v10; regenerate cxx_dr_status.html 2020-04-15 10:45:00 -04:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Revert "Temporarily revert "build: use find_package(Python3) if available"" 2020-04-29 01:38:08 +00:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:             http://clang.llvm.org/
Building and using Clang:         http://clang.llvm.org/get_started.html
Clang Static Analyzer:            http://clang-analyzer.llvm.org/
Information on the LLVM project:  http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.llvm.org/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/