| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
unreachable code heuristics.
This one could possibly be refined even further; e.g. looking
at the initializer and see if it is truly a configuration value.
llvm-svn: 203283
|
| |
|
|
| |
llvm-svn: 203282
|
| |
|
|
|
|
| |
This compiles cleanly with lldb/lld/clang-tools-extra/llvm.
llvm-svn: 203279
|
| |
|
|
|
|
| |
iterator_range decls(). The same is true for the noload versions of these APIs. Updating all of the usages of the iterators with range-based for loops.
llvm-svn: 203278
|
| |
|
|
|
|
| |
This is a precursor to moving to std::unique_ptr.
llvm-svn: 203277
|
| |
|
|
|
|
| |
This is a precursor to moving to std::unique_ptr.
llvm-svn: 203275
|
| |
|
|
| |
llvm-svn: 203266
|
| |
|
|
|
|
| |
Smith.
llvm-svn: 203262
|
| |
|
|
|
|
| |
with iterator_range chains(). Updating all of the usages of the iterators with range-based for loops.
llvm-svn: 203261
|
| |
|
|
|
|
| |
Patch from Sean McBride <sean@rogue-research.com>!
llvm-svn: 203260
|
| |
|
|
|
|
| |
Patch from Sean McBride <sean@rogue-research.com>!
llvm-svn: 203259
|
| |
|
|
|
|
| |
with iterator_range params(). Updating all of the usages of the iterators with range-based for loops.
llvm-svn: 203255
|
| |
|
|
|
|
| |
CaptureDecl class; however, the only usage of the iterators cannot be converted to using the range yet. This change is for consistency with other Decls exposing parameters.
llvm-svn: 203252
|
| |
|
|
|
|
| |
iterator_range params(). Updating all of the usages of the iterators with range-based for loops.
llvm-svn: 203250
|
| |
|
|
|
|
| |
iterator_range params(). Updating all of the usages of the iterators with range-based for loops.
llvm-svn: 203248
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 203241
|
| |
|
|
|
|
| |
iterator_range ddiags(). Updating all of the usages of the iterators with range-based for loops.
llvm-svn: 203240
|
| |
|
|
|
|
| |
std::pair.
llvm-svn: 203239
|
| |
|
|
|
|
| |
MSVC bots.
llvm-svn: 203237
|
| |
|
|
|
|
| |
attrs(). Updating all of the usages of the iterators with range-based for loops.
llvm-svn: 203236
|
| |
|
|
| |
llvm-svn: 203228
|
| |
|
|
| |
llvm-svn: 203225
|
| |
|
|
|
|
| |
inheritance hierarchy
llvm-svn: 203222
|
| |
|
|
|
|
| |
Patch by Alexey Denisov.
llvm-svn: 203219
|
| |
|
|
| |
llvm-svn: 203215
|
| |
|
|
|
|
| |
instantiation.
llvm-svn: 203214
|
| |
|
|
|
|
|
|
|
|
| |
TU_Prefix
avoid warning for unused macros.
rdar://15034698
llvm-svn: 203213
|
| |
|
|
| |
llvm-svn: 203212
|
| |
|
|
|
|
| |
Somehow lost these in a git operation.
llvm-svn: 203210
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Wunreachable-code.
I had forgotten that the same reachability code is used by both -Wreturn-type
and -Wunreachable-code, so the heuristics applied to the latter were indirectly
impacting the former.
To address this, the reachability code is more refactored so that whiled
the logic at its core is shared, the intention of the clients are better
captured and segregated in helper APIs.
Fixes PR19074, and also some false positives reported offline to me
by Nick Lewycky.
llvm-svn: 203209
|
| |
|
|
|
|
|
|
| |
Add module dependencies to the dependency files created by -MD/-MMD/etc.
by attaching an ASTReaderListener that will call into the dependency
file generator when a module input file is seen in the serialized AST.
llvm-svn: 203208
|
| |
|
|
| |
llvm-svn: 203196
|
| |
|
|
| |
llvm-svn: 203195
|
| |
|
|
|
|
| |
and '||' branches involving configuration values.
llvm-svn: 203194
|
| |
|
|
|
|
| |
literal types.
llvm-svn: 203193
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the clang diagnostic has to report a column number one less than the correct
value in order for the IDE to move the cursor to the expected location. This
behavior is changed in VS2012 and VS2013 so that the IDE is now expecting the
column number to match the actual source location.
Before: source(line, column-1): type: message
After: source(line, column): type: message
This patch changes -fdiagnostics-format=msvc to match the new VS2012 and VS2013
when fmsc-version is 1700 or greater.
Differential Revision: http://llvm-reviews.chandlerc.com/D2949
llvm-svn: 203183
|
| |
|
|
|
|
| |
out-of-tree builds are using redecls_begin()/redecls_end(), so adding some machinery back in to support them.
llvm-svn: 203182
|
| |
|
|
|
|
| |
iterator_range redecls(). Updating all of the usages of the iterators with range-based for loops, which allows the begin/end forms to be removed entirely.
llvm-svn: 203179
|
| |
|
|
|
|
|
|
| |
getTypeSize (which rounds up sizes) in order to issue diagnostics
when casting to mismatched vector sizes; instead of crashing in IRGen.
// rdar:// 16196902. Reviewed offline by John McCall.
llvm-svn: 203175
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
LLVM currently has a hack (shouldEmitUsedDirectiveFor) that causes it to not
print no_dead_strip for symbols starting with 'l' or 'L'. These are exactly the
ones that the clang's objc codegen is producing. The net result, is that it is
equivalent to llvm.compiler.used.
The need for putting the private symbol in llvm.compiler.used should be clear
(the objc runtime uses them). The reason for also putting the weak symbols in
it is for LTO: ld64 will not ask us to preserve the it.
llvm-svn: 203172
|
| |
|
|
| |
llvm-svn: 203170
|
| |
|
|
| |
llvm-svn: 203169
|
| |
|
|
|
|
|
|
| |
This patch fixes PR18964. In linkage computation, assertion fails when
an old invalid declaration's linkage mismatches with the current
decl's one.
llvm-svn: 203168
|
| |
|
|
|
|
| |
Found by -Wunreachable-code.
llvm-svn: 203167
|
| |
|
|
|
|
|
| |
These tests were added before we had settled on using a .profdata extension
for the profile data files. Renaming them now for consistency.
llvm-svn: 203166
|
| |
|
|
|
|
|
| |
I added this "STF" variable without noticing that all the other counter names
end with a "C". Renaming it to "STC" for consistency.
llvm-svn: 203165
|
| |
|
|
|
|
|
| |
Use the new getObjectFormat/setObjectFormat instead of Environment now that the
file format is a separate field.
llvm-svn: 203161
|
| |
|
|
| |
llvm-svn: 203158
|
| |
|
|
| |
llvm-svn: 203157
|
| |
|
|
|
|
| |
correct if MaxEditDistance were increased to something greater than 1).
llvm-svn: 203153
|