llvm-project/clang/lib
Raphael Isemann 7d19bd06d1 Don't set TUScope to null when generating a module in incremental processing mode.
Summary: When in incremental processing mode, we should never set `TUScope` to a nullptr otherwise any future lookups fail. We already have similar checks in the rest of the code, but we never hit this one because so far we didn't try to generate a module from the AST that Cling generates.

Reviewers: rsmith, v.g.vassilev

Reviewed By: v.g.vassilev

Subscribers: cfe-commits, v.g.vassilev

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

llvm-svn: 308333
2017-07-18 18:24:42 +00:00
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST [AArch64] Add support for __builtin_ms_va_list on aarch64 2017-07-17 20:49:45 +00:00
ASTMatchers [ASTMatchers] Fix use after free. 2017-06-09 17:55:42 +00:00
Analysis [clang] Fix handling of "%zd" format specifier 2017-07-14 22:57:00 +00:00
Basic [COFF, ARM64] Set the data type widths and the data layout string 2017-07-17 21:10:45 +00:00
CodeGen CodeGen: Insert addr space cast for automatic/temp var at right position 2017-07-18 14:46:03 +00:00
Driver Enable TLS support on OpenBSD, but default to the emulatated TLS model. 2017-07-17 00:49:31 +00:00
Edit [clang] Fix format specifiers fixits for nested macros 2017-06-20 20:46:58 +00:00
Format clang-format: [JS] Correctly format JavaScript imports with long module paths 2017-07-18 14:00:19 +00:00
Frontend [CMake] Move CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER) into clang/Config/config.h. 2017-07-18 08:55:03 +00:00
FrontendTool [CMake] Move CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER) into clang/Config/config.h. 2017-07-18 08:55:03 +00:00
Headers [SystemZ] Add support for IBM z14 processor (3/3) 2017-07-17 17:47:35 +00:00
Index [Index] Prevent canonical decl becoming nullptr 2017-07-18 07:20:53 +00:00
Lex [NFC] Refactor the Preprocessor function that handles Macro definitions and rename Arguments to Parameters in Macro Definitions. 2017-07-17 17:18:43 +00:00
Parse Revert r308327 2017-07-18 17:36:42 +00:00
Rewrite Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:29:40 +00:00
Sema Don't set TUScope to null when generating a module in incremental processing mode. 2017-07-18 18:24:42 +00:00
Serialization Revert r308327 2017-07-18 17:36:42 +00:00
StaticAnalyzer [analyzer] Add annotation for functions taking user-facing strings 2017-07-14 10:24:36 +00:00
Tooling Prevent ClangTools from generating dependency files. 2017-07-14 18:33:30 +00:00
CMakeLists.txt