llvm-project/clang/lib
Yaxun (Sam) Liu 5767085c8d Fix infinite recursion in deferred diag emitter
Currently deferred diagnostic emitter checks variable decl in DeclRefExpr, which
causes infinite recursion for cases like long a = (long)&a;.

Deferred diagnostic emitter does not need check variable decls in DeclRefExpr
since reference of a variable does not cause emission of functions directly or
indirectly. Therefore there is no need to check variable decls in DeclRefExpr.

Differential Revision: https://reviews.llvm.org/D76937
2020-04-01 22:17:43 -04:00
..
ARCMigrate Avoid SourceManager.h include in RawCommentList.h, add missing incs 2020-02-27 13:49:40 -08:00
AST Revert "[OPENMP50]Add initial support for OpenMP 5.0 iterator." 2020-04-01 14:54:45 -04:00
ASTMatchers [clang] Prune 'IsOMPStructuredBlock' Stmt bit 2020-03-12 14:48:57 +03:00
Analysis [analyzer] RetainCountChecker: Add a suppression for OSSymbols. 2020-04-01 18:16:44 +03:00
Basic Remove const qualifier from Modules returned by ExternalASTSource. (NFC) 2020-04-01 17:46:02 -07:00
CodeGen DebugInfo: Defaulted non-type template parameters of bool type 2020-04-01 13:21:13 -07:00
CrossTU [clang] Replace SmallStr.str().str() with std::string conversion operator. 2020-01-29 21:27:46 -08:00
DirectoryWatcher Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00
Driver HIP: Link correct denormal mode library 2020-04-01 12:36:22 -04:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [clang-format] Correct line breaks in C# generic type constraints 2020-03-31 19:27:01 +01:00
Frontend [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. 2020-04-01 10:49:06 -04:00
FrontendTool [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. 2020-04-01 10:49:06 -04:00
Headers [WebAssembly] Rename SIMD min/max/avgr intrinsics for consistency 2020-04-01 09:38:41 -07:00
Index Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00
Lex [CodeComplete] Don't replace the rest of line in #include completion. 2020-03-26 11:03:04 +01:00
Parse Revert "[OPENMP50]Add initial support for OpenMP 5.0 iterator." 2020-04-01 14:54:45 -04:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema Fix infinite recursion in deferred diag emitter 2020-04-01 22:17:43 -04:00
Serialization Remove const qualifier from Modules returned by ExternalASTSource. (NFC) 2020-04-01 17:46:02 -07:00
StaticAnalyzer Revert "[OPENMP50]Add initial support for OpenMP 5.0 iterator." 2020-04-01 14:54:45 -04:00
Tooling [Syntax] Remove delayed folding from tree building. 2020-03-31 09:47:50 +02:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00