| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
lookup, if parsing failed, we did not restore the lexer state properly, and
eventually crashed. This change ensures that we always consume all the tokens
from the new token stream we started to parse the name from inline asm.
llvm-svn: 196182
|
| |
|
|
|
|
| |
reduces the amount of duplicate code in the handler. No functional change intended.
llvm-svn: 196165
|
| |
|
|
|
|
| |
attribute kind test were superfluous. No functional change intended.
llvm-svn: 196162
|
| |
|
|
|
|
| |
attribute arguments (the common attribute handler already does this). Switching to use the simple attribute handler. No functional change intended.
llvm-svn: 196155
|
| |
|
|
|
|
| |
Patch by Ana Pazos!
llvm-svn: 196153
|
| |
|
|
| |
llvm-svn: 196152
|
| |
|
|
|
|
|
| |
Suggested by Eric.
Paired commit with r196144.
llvm-svn: 196145
|
| |
|
|
| |
llvm-svn: 196143
|
| |
|
|
| |
llvm-svn: 196142
|
| |
|
|
|
|
| |
options to test in tablegen.
llvm-svn: 196138
|
| |
|
|
| |
llvm-svn: 196131
|
| |
|
|
|
|
| |
cf_audited_transfer and cf_unknown_transfer attributes into separate helper methods for simplicity. No functional changes intended.
llvm-svn: 196126
|
| |
|
|
| |
llvm-svn: 196124
|
| |
|
|
| |
llvm-svn: 196123
|
| |
|
|
|
|
|
|
|
|
|
| |
This makes the clang-format plugin self-contained. Instead of
requiring clang-format.exe to be available on the PATH, this
includes it in the plugin's installer (.vsix file) and runs it
from the install directory.
Differential Revision: http://llvm-reviews.chandlerc.com/D2281
llvm-svn: 196122
|
| |
|
|
|
|
| |
diagnostic involved to be more accurate -- for C++ code, it will now report that weak applies to variables, functions or classes. Added additional test case for this.
llvm-svn: 196120
|
| |
|
|
|
|
|
|
|
| |
This avoids allocation of temporary std::strings for file contents, instead
writing chunks directly to the output stream.
The old character-based B-tree iterator remains intact for the time being.
llvm-svn: 196119
|
| |
|
|
|
|
| |
__w64 specifically. Renamed and removed some unused code. No functional change intended.
llvm-svn: 196116
|
| |
|
|
| |
llvm-svn: 196115
|
| |
|
|
| |
llvm-svn: 196114
|
| |
|
|
| |
llvm-svn: 196110
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Added -fallback-style option. Changed clang-format to stop searching
for .clang-format when an invalid file is found.
Reviewers: djasper, klimek
Reviewed By: djasper
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D2292
llvm-svn: 196108
|
| |
|
|
|
|
| |
functional change intended.
llvm-svn: 196107
|
| |
|
|
|
|
| |
Affects: guarded_var, pt_guarded_var, guarded_by, pt_guarded_by, acquired_after and acquired_before. No functional change intended.
llvm-svn: 196105
|
| |
|
|
|
|
| |
method has been previously generated.
llvm-svn: 196103
|
| |
|
|
|
|
|
|
|
| |
AddGoldPlugin() is the same on gnutools and freebsd so avoid the
copy-and-paste duplicate code.
No change in functionality.
llvm-svn: 196096
|
| |
|
|
|
|
|
| |
Due to a bug in the patch, clang-format would more or less simply format
all multi-line comments.
llvm-svn: 196080
|
| |
|
|
| |
llvm-svn: 196062
|
| |
|
|
| |
llvm-svn: 196061
|
| |
|
|
| |
llvm-svn: 196060
|
| |
|
|
|
|
|
|
| |
Before we were considering them only when instantiating templates.
This fixes pr18033.
llvm-svn: 196050
|
| |
|
|
|
|
|
|
| |
token.
This would crash if the token is used in another diagnostic. PR18051.
llvm-svn: 196048
|
| |
|
|
|
|
| |
LLVM r196044 should make it pass.
llvm-svn: 196045
|
| |
|
|
|
|
| |
This is a private class member so the fix shouldn't impact external projects.
llvm-svn: 195985
|
| |
|
|
| |
llvm-svn: 195983
|
| |
|
|
|
|
|
|
| |
gcc treats [[gnu:const]], [[gnu::__const]], and [[gnu:__const__]] as all being
equivalent. Add an additional test case to ensure that we do not miss the last
case.
llvm-svn: 195982
|
| |
|
|
| |
llvm-svn: 195970
|
| |
|
|
|
|
| |
functional change intended.
llvm-svn: 195964
|
| |
|
|
|
|
| |
attribute. No functional change intended.
llvm-svn: 195963
|
| |
|
|
| |
llvm-svn: 195962
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Use LS_JavaScript for files ending with ".js". Added support for ">>>="
operator.
Reviewers: djasper, klimek
Reviewed By: djasper
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D2242
llvm-svn: 195961
|
| |
|
|
|
|
| |
the custom subject for the ibaction attribute.
llvm-svn: 195960
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
int aaaa; // This line is formatted.
// The comment continues ..
// .. here.
Before:
int aaaa; // This line is formatted.
// The comment continues ..
// .. here.
This fixes llvm.org/PR17914.
llvm-svn: 195954
|
| |
|
|
|
|
| |
This should fix llvm.org/PR17241. Maybe it sticks this time :-).
llvm-svn: 195953
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
DEBUG( //
{ f(); });
After:
DEBUG( //
{ f(); });
Also add additional test to selected formatting of individual statements
in nested blocks.
llvm-svn: 195952
|
| |
|
|
| |
llvm-svn: 195943
|
| |
|
|
|
|
| |
E.g. the immediate value of vshrns_n_s16 is [1,16], which should be [1,8].
llvm-svn: 195942
|
| |
|
|
| |
llvm-svn: 195940
|
| |
|
|
| |
llvm-svn: 195937
|
| |
|
|
|
|
|
|
|
|
| |
Previously, clang-format could create quite corrupt formattings if
individual lines of nested blocks (e.g. in "DEBUG({})" or lambdas) were
used. With this patch, it tries to extend the formatted regions to leave
around some reasonable format without always formatting the entire
surrounding statement.
llvm-svn: 195925
|