| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
file.
llvm-svn: 64711
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
makes -emit-html do nice things for code like:
#define FOO(X) y
int FOO(4
);
highlighting the FOO instance as well as the ) on the next line properly.
llvm-svn: 64710
|
| |
|
|
| |
llvm-svn: 64701
|
| |
|
|
| |
llvm-svn: 64700
|
| |
|
|
| |
llvm-svn: 64692
|
| |
|
|
|
|
| |
nonfragile abi.
llvm-svn: 64690
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Define pow[lf]?, sqrt[lf]? as builtins.
- Add -fmath-errno option which binds to LangOptions.MathErrno
- Add new builtin flag Builtin::Context::isConstWithoutErrno for
functions which can be marked as const if errno isn't respected for
math functions. Sema automatically marks these functions as const
when they are defined, if MathErrno=0.
- IRgen uses const attribute on sqrt and pow library functions to
decide if it can use the llvm intrinsic.
llvm-svn: 64689
|
| |
|
|
|
|
|
|
| |
Doug: please verify that it is expected that LastIdx can be less that
NumInits. And perhaps add a comment so that Chris doesn't break your
code. :)
llvm-svn: 64688
|
| |
|
|
|
|
| |
extensions). This caught a couple bugs in our test suite :)
llvm-svn: 64686
|
| |
|
|
| |
llvm-svn: 64684
|
| |
|
|
|
|
|
|
|
|
|
| |
emit two volatile loads for:
typedef __attribute__(( ext_vector_type(4) )) float float4;
float test(volatile float4 *P) {
return P->x+P->y;
}
llvm-svn: 64683
|
| |
|
|
|
|
| |
suggestion
llvm-svn: 64681
|
| |
|
|
| |
llvm-svn: 64680
|
| |
|
|
|
|
| |
We now pass all the deprecation tests in the objc.dg suite.
llvm-svn: 64679
|
| |
|
|
|
|
| |
to the LIBBUILTIN macro
llvm-svn: 64676
|
| |
|
|
|
|
| |
- Fix test case to not only have negative tests.
llvm-svn: 64674
|
| |
|
|
| |
llvm-svn: 64673
|
| |
|
|
| |
llvm-svn: 64672
|
| |
|
|
| |
llvm-svn: 64671
|
| |
|
|
| |
llvm-svn: 64670
|
| |
|
|
|
|
| |
dubious, but at least mark it as an invalid decl.
llvm-svn: 64668
|
| |
|
|
| |
llvm-svn: 64667
|
| |
|
|
|
|
| |
prototype, synthesize ParmVarDecls for prototype-less FunctionDecl.
llvm-svn: 64666
|
| |
|
|
| |
llvm-svn: 64660
|
| |
|
|
|
|
| |
whose declaration was declared as deprecated.
llvm-svn: 64658
|
| |
|
|
|
|
| |
the same.
llvm-svn: 64657
|
| |
|
|
|
|
|
|
|
| |
interface for ivars before assuming that this is an unresolved
function name.
Fixes <rdar://problem/6590445>.
llvm-svn: 64653
|
| |
|
|
| |
llvm-svn: 64652
|
| |
|
|
| |
llvm-svn: 64651
|
| |
|
|
| |
llvm-svn: 64650
|
| |
|
|
|
|
| |
miscompiling.
llvm-svn: 64647
|
| |
|
|
| |
llvm-svn: 64646
|
| |
|
|
|
|
|
| |
property is deprecated, not the getter/setter if the attribute is on
the property.
llvm-svn: 64644
|
| |
|
|
| |
llvm-svn: 64643
|
| |
|
|
| |
llvm-svn: 64642
|
| |
|
|
|
|
|
| |
merge the prototype into the redeclaration (and make a note in the
declaration). Fixes PR3588.
llvm-svn: 64641
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- If a declaration is an invalid redeclaration of an existing name,
complain about the invalid redeclaration then avoid adding it to
the AST (we can still parse the definition or initializer, if any).
- If the declaration is invalid but there is no prior declaration
with that name, introduce the invalid declaration into the AST
(for later error recovery).
- If the declaration is an invalid redeclaration of a builtin that
starts with __builtin_, we produce an error and drop the
redeclaration. If it is an invalid redeclaration of a library
builtin (e.g., malloc, printf), warn (don't error!) and drop the
redeclaration.
If a user attempts to define a builtin, produce an error and (if it's
a library builtin like malloc) suggest -ffreestanding.
This addresses <rdar://problem/6097585> and PR2892. However, PR3588 is
still going to cause some problems when builtins are redeclared
without a prototype.
llvm-svn: 64639
|
| |
|
|
| |
llvm-svn: 64637
|
| |
|
|
| |
llvm-svn: 64634
|
| |
|
|
|
|
|
|
| |
if a new declaration context Decl appeared, the necessary changes
would be in one place. Since, now, only DeclNodes.def needs to be modified, move things out-of-line and simplify the DeclContext class.
llvm-svn: 64630
|
| |
|
|
|
|
|
|
|
| |
-In DeclNodes.def, only mark as DeclContexts the top classes that directly derive from DeclContext. If the Decl has subclasses,
it should be marked with DECL_CONTEXT_BASE.
-Use DeclNodes.def to automate the DeclContext::classof and DeclContext::CastTo definitions.
llvm-svn: 64629
|
| |
|
|
| |
llvm-svn: 64628
|
| |
|
|
| |
llvm-svn: 64627
|
| |
|
|
| |
llvm-svn: 64614
|
| |
|
|
| |
llvm-svn: 64613
|
| |
|
|
|
|
|
|
|
| |
DiagnoseUseOfDeprecatedDecl method. This ensures that they
are treated consistently. This gets us 'unavailable' support
on a few new types of decls, and makes sure we consistently
silence deprecated when the caller is also deprecated.
llvm-svn: 64612
|
| |
|
|
|
|
| |
recovery.
llvm-svn: 64609
|
| |
|
|
| |
llvm-svn: 64608
|
| |
|
|
|
|
|
| |
instantiation, which highlights the arguments of a function like macro
as well as its identifier.
llvm-svn: 64607
|
| |
|
|
| |
llvm-svn: 64606
|