llvm-project/clang/lib
Filipe Cabecinhas 7af183d841 Propagate SourceLocations through to get a Loc on float_cast_overflow
Summary:
float_cast_overflow is the only UBSan check without a source location attached.
This patch propagates SourceLocations where necessary to get them to the
EmitCheck() call.

Reviewers: rsmith, ABataev, rjmccall

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D11757

llvm-svn: 244568
2015-08-11 04:19:28 +00:00
..
ARCMigrate Use llvm::reverse to make a bunch of loops use foreach. NFC. 2015-07-30 17:22:52 +00:00
AST [dllimport] A non-imported class with an imported key can't have a key 2015-08-10 19:39:01 +00:00
ASTMatchers Add AST matchers for narrowing constructors that are default, copy, or move constructors, as well as functionality to determine whether a ctor initializer is a base initializer. 2015-08-05 12:11:30 +00:00
Analysis Use llvm::reverse to make a bunch of loops use foreach. NFC. 2015-07-30 17:22:52 +00:00
Basic Update a comment to be more descriptive. 2015-08-07 19:07:08 +00:00
CodeGen Propagate SourceLocations through to get a Loc on float_cast_overflow 2015-08-11 04:19:28 +00:00
Driver [Driver] Fix handling of -fbuiltin/-fcommon when combined with -mkernel 2015-08-10 11:11:28 +00:00
Edit [Edit] Use StringRef's copy method. No functional change intended. 2015-08-04 11:18:09 +00:00
Format Add WebKit brace style configuration option. 2015-08-10 13:43:19 +00:00
Frontend [modules] Properly diagnose errors in module files for which we have no 2015-08-11 00:05:21 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers [X86] Add support for _MM_ALIGN16 2015-08-06 08:24:38 +00:00
Index Rename MacroDefinition -> MacroDefinitionRecord, Preprocessor::MacroDefinition -> MacroDefinition. 2015-05-04 02:25:31 +00:00
Lex [modules] When building a dependency file, include module maps parsed in the 2015-08-09 04:46:57 +00:00
Parse Add new llvm.loop.unroll.enable metadata for use with "#pragma unroll". 2015-08-10 17:29:39 +00:00
Rewrite Make local function isWhitespaceExceptNL static instead of in anonymous namespace 2015-07-28 04:54:03 +00:00
Sema [MSVC Compat] Implement __is_destructible, __is_nothrow_destructible 2015-08-11 03:03:28 +00:00
Serialization Remove some dead code. 2015-08-10 23:26:54 +00:00
StaticAnalyzer [Static Analyzer] Warn when inner and outer conditions are identical. The inner condition is always true. 2015-08-10 07:18:29 +00:00
Tooling Use LLVM_ATTRIBUTE_UNUSED to hide gcc 5.1 unused variable warning. 2015-08-07 16:21:23 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00