- Nov 27, 2013
-
-
David Majnemer authored
We wouldn't properly save and restore the pending local instantiations we had built up prior to instantiation of a variable definition. This would lead to us instantiating too much causing crashes and other general badness. This fixes PR14374. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195887 91177308-0d34-0410-b5e6-96231b3b80d8
-
Alp Toker authored
1) Use %clang_cc1 instead of the driver 2) Validate that the input contains a BOM 3) Validate that the BOM has been stripped from the output git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195886 91177308-0d34-0410-b5e6-96231b3b80d8
-
Lubos Lunak authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195877 91177308-0d34-0410-b5e6-96231b3b80d8
-
Benjamin Kramer authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195876 91177308-0d34-0410-b5e6-96231b3b80d8
-
Aaron Ballman authored
Renaming Struct to GenericRecord for clarity; could not use Record as the enumerant because that's already taken by the Record class. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195875 91177308-0d34-0410-b5e6-96231b3b80d8
-
Alp Toker authored
This was removed in the great unused local cleanup of r195814. Adding cast-to-void to suppress unused variable warnings. Should fix certain builds like ARCMT. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195872 91177308-0d34-0410-b5e6-96231b3b80d8
-
Aaron Ballman authored
Converts the lockable attributes to use the simple attribute handler because the semantic checking was already automated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195866 91177308-0d34-0410-b5e6-96231b3b80d8
-
Aaron Ballman authored
Automated checking for C++ when determining what argument to send to the diagnostic for attribute subjects. In turn, this allows the Subjects to be enabled for some more attributes and improves diagnostics. Updated a test case based on the improved diagnostic. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195864 91177308-0d34-0410-b5e6-96231b3b80d8
-
Aaron Ballman authored
Adding the Subjects entry back for the noreturn attributes. This caused some test cases to be updated because the original diagnostic was about applying to methods as well as functions, but the semantic checking disallowed methods. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195862 91177308-0d34-0410-b5e6-96231b3b80d8
-
Aaron Ballman authored
Enabling the subject list for the warn_unused attribute, and adding a test case. Previously, would issue a "warning ignored" diagnostic instead of the more specific "only applies to." git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195851 91177308-0d34-0410-b5e6-96231b3b80d8
-
Aaron Ballman authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195850 91177308-0d34-0410-b5e6-96231b3b80d8
-
Aaron Ballman authored
Refactored semantic handlers that would unilaterally apply the attribute to a Decl so they all go through a common interface. No functional change intended. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195848 91177308-0d34-0410-b5e6-96231b3b80d8
-
Alexander Kornienko authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195846 91177308-0d34-0410-b5e6-96231b3b80d8
-
Jiangning Liu authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195844 91177308-0d34-0410-b5e6-96231b3b80d8
-
Aaron Ballman authored
Removing the description part of a subset subject. It is unused, and wouldn't be future-proof regarding translation issues. It is also covered by SubjectList's CustomDiag member. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195842 91177308-0d34-0410-b5e6-96231b3b80d8
-
Aaron Ballman authored
Laying the basic groundwork for table generating the diagnostics for attribute subjects. This makes some modifications to the way subjects are listed in Attr.td, and updates the attr emitter to handle the new constructs. I have disabled some attribute subject lines on purpose in Attr.td; this part is a WIP with the goal being to restore those subjects incrementally. By commenting them out, it leaves the original behavior the same as before for those attributes and so those are not functionality changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195841 91177308-0d34-0410-b5e6-96231b3b80d8
-
Argyrios Kyrtzidis authored
Suggested by Alp Toker. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195829 91177308-0d34-0410-b5e6-96231b3b80d8
-
Argyrios Kyrtzidis authored
dependent context that the one we are instantiating, otherwise there will be an assertion. rdar://15464547 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195828 91177308-0d34-0410-b5e6-96231b3b80d8
-
David Majnemer authored
We would fail to instantiate them when the surrounding function was instantiated. Instantiate the class and add it's members to the list of pending instantiations, they should be resolved when we are finished with the function's body. This fixes PR9685. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195827 91177308-0d34-0410-b5e6-96231b3b80d8
-
Argyrios Kyrtzidis authored
Also disable crash recovery using 'LIBCLANG_DISABLE_CRASH_RECOVERY' environment variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195819 91177308-0d34-0410-b5e6-96231b3b80d8
-
Alp Toker authored
There are about 30 removed in this patch, generated by a new FixIt I haven't got round to submitting yet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195814 91177308-0d34-0410-b5e6-96231b3b80d8
-
Alp Toker authored
The warning from cmake-clang-x64-msc16-R was: test\SemaCXX\old-style-cast.cpp Line 6: cast to 'void **' from smaller integer type 'long' git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195813 91177308-0d34-0410-b5e6-96231b3b80d8
-
Richard Smith authored
code for handling triviality, deletedness and constexpr. Fix a few bugs in these, particularly related to mutable members, and remove some dead code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195809 91177308-0d34-0410-b5e6-96231b3b80d8
-
Alp Toker authored
Based on a patch by Ondřej Hošek! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195808 91177308-0d34-0410-b5e6-96231b3b80d8
-
Richard Smith authored
look at the attribute spelling instead. The 'ownership_*' attributes should probably be split into separate *Attr classes, but that's more than I wanted to do here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195805 91177308-0d34-0410-b5e6-96231b3b80d8
-
Chad Rosier authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195804 91177308-0d34-0410-b5e6-96231b3b80d8
-
Chandler Carruth authored
curlies. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195802 91177308-0d34-0410-b5e6-96231b3b80d8
-
James Dennett authored
the duplicated documentation from .cpp files so that it's not processed by Doxygen and hence doesn't generate duplicate output. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195799 91177308-0d34-0410-b5e6-96231b3b80d8
-
- Nov 26, 2013
-
-
Richard Smith authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195792 91177308-0d34-0410-b5e6-96231b3b80d8
-
Chad Rosier authored
instructions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195789 91177308-0d34-0410-b5e6-96231b3b80d8
-
DeLesley Hutchins authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195777 91177308-0d34-0410-b5e6-96231b3b80d8
-
Aaron Ballman authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195770 91177308-0d34-0410-b5e6-96231b3b80d8
-
Rafael Espindola authored
On a Release build this takes the testcase in pr18055 from 0m3.892s to 0m1.452s. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195768 91177308-0d34-0410-b5e6-96231b3b80d8
-
Rafael Espindola authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195767 91177308-0d34-0410-b5e6-96231b3b80d8
-
Alexander Kornienko authored
Changed non-printable characters in the test to the escaped form. Apparently, not all tools display non-printable characters ;) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195761 91177308-0d34-0410-b5e6-96231b3b80d8
-
Gabor Greif authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195760 91177308-0d34-0410-b5e6-96231b3b80d8
-
Simon Atanasyan authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195756 91177308-0d34-0410-b5e6-96231b3b80d8
-
Simon Atanasyan authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195755 91177308-0d34-0410-b5e6-96231b3b80d8
-
Simon Atanasyan authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195754 91177308-0d34-0410-b5e6-96231b3b80d8
-
Simon Atanasyan authored
Sourcery MIPS toolchain. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195753 91177308-0d34-0410-b5e6-96231b3b80d8
-