- Mar 15, 2014
-
-
Justin Bogner authored
Since our error_category is based on the std one, we should have the same visibility for the constructor. This also allows us to avoid using the _do_message implementation detail in our own categories. llvm-svn: 203998
-
NAKAMURA Takumi authored
llvm/test/Transforms/SampleProfile/syntax.ll: Suppress checking the message catalog in ENOENT. It is locale-dependent on Windows. llvm-svn: 203997
-
NAKAMURA Takumi authored
llvm-svn: 203996
-
Marshall Clow authored
Remove Issue #2235 from the Chicago section. The resolution was approved in Bristol (and it is listed there), and then is was approved *again* in Chicago. Thanks to STL @ microsoft for the catch llvm-svn: 203995
-
Ted Kremenek authored
Recent work on -Wunreachable-code has focused on suppressing uninteresting unreachable code that center around "configuration values", but there are still some set of cases that are sometimes interesting or uninteresting depending on the codebase. For example, a dead "break" statement may not be interesting for a particular codebase, potentially because it is auto-generated or simply because code is written defensively. To address these workflow differences, -Wunreachable-code is now broken into several diagnostic groups: -Wunreachable-code: intended to be a reasonable "default" for most users. and then other groups that turn on more aggressive checking: -Wunreachable-code-break: warn about dead break statements -Wunreachable-code-trivial-return: warn about dead return statements that return "trivial" values (e.g., return 0). Other return statements that return non-trivial values are still reported under -Wunreachable-code (this is an area subject to more refinement). -Wunreachable-code-aggressive: supergroup that enables all these groups. The goal is to eventually make -Wunreachable-code good enough to either be in -Wall or on-by-default, thus finessing these warnings into different groups helps achieve maximum signal for more users. TODO: the tests need to be updated to reflect this extra control via diagnostic flags. llvm-svn: 203994
-
Jim Ingham authored
llvm-svn: 203993
-
Rui Ueyama authored
So we don't need static_cast's to convert it from signed to unsigned. llvm-svn: 203992
-
NAKAMURA Takumi authored
llvm-svn: 203991
-
NAKAMURA Takumi authored
FIXME: DiagnosticInfoSampleProfile should not hold Twine&. llvm-svn: 203990
-
Matt Arsenault authored
Private pointers are now always 32-bits. llvm-svn: 203989
-
Matt Arsenault authored
Use sign_extend_inreg and getZeroExtendInReg instead of using the bit operations they expand into. llvm-svn: 203988
-
Richard Smith authored
its keywordliness. llvm-svn: 203987
-
Rui Ueyama authored
Microsoft PE/COFF Spec clearly states that the field is of signed interger type. However, in reality, it's unsigned. If cl.exe needs to create a large number of sections for COMDAT sections, it will just create more than 32768 sections. Handling large section number as negative number is not correct. I think this is a spec bug. Differential Revision: http://llvm-reviews.chandlerc.com/D3088 llvm-svn: 203986
-
Greg Clayton authored
Parse DW_AT_ranges for compile units on Darwin when .debug_aranges is not available for the current compile unit. <rdar://problem/16321434> llvm-svn: 203985
-
Fariborz Jahanian authored
'init' methods which are unavailable. Subclasses of NSObject have to implement such methods as a common pattern to prevent user's own implementation. // rdar://16305460 llvm-svn: 203984
-
Adrian Prantl authored
llvm-svn: 203983
-
Adrian Prantl authored
based on the ODR. This adds an OdrMemberMap to DwarfDebug which is used to unique C++ member function declarations based on the unique identifier of their containing class and their mangled name. We can't use the usual DIRef mechanism here because DIScopes are indexed using their entire MDNode, including decl_file and decl_line, which need not be unique (see testcase). Prior to this change multiple redundant member function declarations would end up in the same uniqued DW_TAG_class_type. llvm-svn: 203982
-
Adrian Prantl authored
llvm-svn: 203981
-
Adrian Prantl authored
llvm-svn: 203980
-
Jim Grosbach authored
For better or worse, this is currently the normal error reporting path when dealing with backend errors from inline assembly. It's not just internal compiler issues that come through here, so we shouldn't be creating a backtrace on this path. rdar://16329947 llvm-svn: 203979
-
Richard Smith authored
complete. We hook into this check from a couple of other places (modules, debug info) so it's not OK to elide the check if the type was already complete. llvm-svn: 203978
-
Diego Novillo authored
llvm-svn: 203977
-
Diego Novillo authored
Summary: The sample profiler pass emits several error messages. Instead of just aborting the compiler with report_fatal_error, we can emit better messages using DiagnosticInfo. This adds a new sub-class of DiagnosticInfo to handle the sample profiler. Reviewers: chandlerc, qcolombet CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3086 llvm-svn: 203976
-
Aaron Ballman authored
[C++11] Removing the found_decls_begin() and found_decls_end() APIs and replacing with a range-only found_decls() API. llvm-svn: 203975
-
Richard Smith authored
(for an integer too large for any signed type) from Warning to ExtWarn -- it's ill-formed in C++11 and C99 onwards, and UB during translation in C89 and C++98. Add diagnostic groups for two relevant diagnostics. llvm-svn: 203974
-
Eric Christopher authored
Fix up testcases and use of flag. llvm-svn: 203973
-
Eric Christopher authored
llvm-svn: 203972
-
Aaron Ballman authored
[C++11] Removing the types_begin() and types_end() APIs and replacing with a range-only types() API. llvm-svn: 203971
-
Aaron Ballman authored
[C++11] Removing the local_import_begin() and local_import_end() APIs and replacing with a range-only local_imports() API. Privatizes the iterator class as well. llvm-svn: 203970
-
Eric Christopher authored
any lexical scopes then go ahead and turn on DW_AT_ranges for the compile unit since we would be claiming to describe in the CU a range for which we don't have information in the CU otherwise. llvm-svn: 203969
-
Eric Christopher authored
Rewrite a couple of testcases to cover areas that would be normally by turning it on into testcases that will follow the logic. llvm-svn: 203968
-
David Blaikie authored
This sometimes remains null into MCLineTableHeader::Emit where we conditionally construct a label if one isn't provided for us. We need it to remain null (rather than just always constructing the label) so we can identify unused line tables... which is a bit weird and maybe we can do away with that logic one day (& on that day we can always construct the label up-front and just have compilation units query the line table for its label, etc) llvm-svn: 203967
-
Fariborz Jahanian authored
'init' methods which are unavailable. Subclasses of NSObject have to implement such methods as a common pattern to prevent user's own implementation. // rdar://16305460 llvm-svn: 203966
-
Aaron Ballman authored
llvm-svn: 203965
-
Richard Smith authored
* Explicitly say that we conform to the two N/A bullets that required no compiler changes. * Remove a library feature from our features list. llvm-svn: 203964
-
David Blaikie authored
The member variable is not initialized in the ctor so it's already empty. No need to empty it again. llvm-svn: 203963
-
Rafael Espindola authored
We were marking the symbol as absolute instead of computing b's offset + the expression value. This fixes pr19126. llvm-svn: 203962
-
James Dennett authored
llvm-svn: 203961
-
David Blaikie authored
llvm-svn: 203960
-
Aaron Ballman authored
[C++11] Replacing CapturedStmt iterators capture_init_begin() and capture_init_end() with iterator_range capture_inits(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203959
-