llvm-project/clang/lib
Sriraman Tallam 7d0bbe4090 Re-apply https://reviews.llvm.org/D87921, was reverted to triage a PPC bot failure.
D87921 was reverted in commit b89059a313
as it was causing an unknown llvm PPC bot failure.  Reapplying the patch
after confirming that this is not responsible. Build bot failure:
https://reviews.llvm.org/D87921#2286644  which caused the revert.

The wrong placement of add pass with optimizations led to
-funique-internal-linkage-names being disabled.

Fixed the placement of the MPM.addpass for UniqueInternalLinkageNames to make it
work correctly with -O2 and new pass manager. Updated the tests to explicitly
check O0 and O1.

Differential Revision: https://reviews.llvm.org/D87921
2020-09-23 10:28:40 -07:00
..
ARCMigrate With MSVC, file needs to be compiled with /BIGOBJ 2020-07-17 09:43:06 -07:00
AST Revert "Canonicalize declaration pointers when forming APValues." 2020-09-22 17:40:53 -07:00
ASTMatchers Improve dynamic AST matching diagnostics for conversion errors 2020-09-23 12:13:36 -04:00
Analysis [analyzer][Liveness][NFC] Get rid of statement liveness, because such a thing doesn't exist 2020-09-15 17:43:02 +02:00
Basic [SystemZ][z/OS] Set default wchar_t type for zOS 2020-09-22 08:03:03 -04:00
CodeGen Re-apply https://reviews.llvm.org/D87921, was reverted to triage a PPC bot failure. 2020-09-23 10:28:40 -07:00
CrossTU [analyzer] Add CTUImportCppThreshold for C++ files 2020-07-09 15:36:33 +02:00
DirectoryWatcher [DirectoryWatcher] Do not use FSEvents on non-macOS platforms 2020-04-23 10:22:28 -07:00
Driver [Driver] Check whether Gentoo-specific configuration directory exists 2020-09-23 20:25:23 +03:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format Add -Wno-error=unknown flag to clang-format. 2020-09-19 10:17:57 +02:00
Frontend [clang] Fix incorrect call to TextDiagnostic::printDiagnosticMessage 2020-09-21 09:41:39 +01:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [PowerPC] Implementation of 128-bit Binary Vector Mod and Sign Extend builtins 2020-09-23 01:18:14 -05:00
Index [clang] Traverse init-captures while indexing 2020-09-22 02:32:09 -04:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Lex [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
Parse [OpenMP] Context selector extensions for template functions 2020-09-16 13:37:10 -05:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [clang] Fix a typo-correction crash 2020-09-22 20:21:21 +02:00
Serialization [AST] Reduce the size of TemplateArgumentLocInfo. 2020-09-21 13:08:53 +02:00
StaticAnalyzer [analyzer][StdLibraryFunctionsChecker] Separate the signature from the summaries 2020-09-23 10:59:34 +02:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling [SyntaxTree][Synthesis] Fix: `deepCopy` -> `deepCopyExpandingMacros`. 2020-09-22 09:15:21 +00:00
CMakeLists.txt Add an explicit toggle for the static analyzer in clang-tidy 2020-09-10 10:48:17 -04:00