<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emscripten-fastcomp-clang/test/ASTMerge, branch master</title>
<subtitle>emscripten clang</subtitle>
<id>https://git.amat.us/emscripten-fastcomp-clang/atom/test/ASTMerge?h=master</id>
<link rel='self' href='https://git.amat.us/emscripten-fastcomp-clang/atom/test/ASTMerge?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/'/>
<updated>2013-04-17T08:06:46Z</updated>
<entry>
<title>Extended VerifyDiagnosticConsumer to also verify source file for diagnostic.</title>
<updated>2013-04-17T08:06:46Z</updated>
<author>
<name>Andy Gibbs</name>
<email>andyg1001@hotmail.co.uk</email>
</author>
<published>2013-04-17T08:06:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=b42f200777a66b98989160bf3987ce431540a584'/>
<id>urn:sha1:b42f200777a66b98989160bf3987ce431540a584</id>
<content type='text'>
VerifyDiagnosticConsumer previously would not check that the diagnostic and
its matching directive referenced the same source file.  Common practice was
to create directives that referenced other files but only by line number,
and this led to problems such as when the file containing the directive
didn't have enough lines to match the location of the diagnostic in the
other file, leading to bizarre file formatting and other oddities.

This patch causes VerifyDiagnosticConsumer to match source files as well as
line numbers.  Therefore, a new syntax is made available for directives, for
example:

// expected-error@file:line {{diagnostic message}}

This extends the @line feature where "file" is the file where the diagnostic
is generated.  The @line syntax is still available and uses the current file
for the diagnostic.  "file" can be specified either as a relative or absolute
path - although the latter has less usefulness, I think!  The #include search
paths will be used to locate the file and if it is not found an error will be
generated.

The new check is not optional: if the directive is in a different file to the
diagnostic, the file must be specified.  Therefore, a number of test-cases
have been updated with regard to this.

This closes out PR15613.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179677 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix code that attempted to produce a diagnostic with one DiagnosticEngine, then</title>
<updated>2012-12-20T02:22:15Z</updated>
<author>
<name>Richard Smith</name>
<email>richard-llvm@metafoo.co.uk</email>
</author>
<published>2012-12-20T02:22:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=5b9268f26ac53a74d2c504279fe577d988d5615d'/>
<id>urn:sha1:5b9268f26ac53a74d2c504279fe577d988d5615d</id>
<content type='text'>
produce a note for that diagnostic either with a different DiagnosticEngine or
after calling DiagnosticEngine::Reset(). That didn't make any sense, and did the
wrong thing if the original diagnostic was suppressed.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170636 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.</title>
<updated>2012-10-19T12:44:48Z</updated>
<author>
<name>Andy Gibbs</name>
<email>andyg1001@hotmail.co.uk</email>
</author>
<published>2012-10-19T12:44:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=8e8fb3be5bd78f0564444eca02b404566a5f3b5d'/>
<id>urn:sha1:8e8fb3be5bd78f0564444eca02b404566a5f3b5d</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166280 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Update VerifyDiagnosticConsumer to only get directives during parsing.</title>
<updated>2012-08-10T01:06:16Z</updated>
<author>
<name>Jordan Rose</name>
<email>jordan_rose@apple.com</email>
</author>
<published>2012-08-10T01:06:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=7c304f56eecbd03db7d222a05dfcd593750d50d3'/>
<id>urn:sha1:7c304f56eecbd03db7d222a05dfcd593750d50d3</id>
<content type='text'>
The old behavior was to re-scan any files (like modules) where we may have
directives but won't actually be parsing during the -verify invocation.
Now, we keep the old behavior in Debug builds as a sanity check (though
modules are a known entity), and expect all legitimate directives to come
from comments seen by the preprocessor.

This also affects the ARC migration tool, which captures diagnostics in
order to filter some out. This change adds an explicit cleanup to
CaptureDiagnosticsConsumer in order to let its sub-consumer handle the
real end of diagnostics.

This was originally split into four patches, but the tests do not run
cleanly without all four, so I've combined them into one commit.

Patches by Andy Gibbs, with slight modifications from me.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161650 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix crash at @implementation with a forward reference as base class.</title>
<updated>2012-03-13T01:09:36Z</updated>
<author>
<name>Argyrios Kyrtzidis</name>
<email>akyrtzi@gmail.com</email>
</author>
<published>2012-03-13T01:09:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=cd707abbc758149d9f7d37bd0b25298455c678b2'/>
<id>urn:sha1:cd707abbc758149d9f7d37bd0b25298455c678b2</id>
<content type='text'>
rdar://11020003

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152596 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Improve location fidelity of objc decls.</title>
<updated>2011-10-04T04:48:02Z</updated>
<author>
<name>Argyrios Kyrtzidis</name>
<email>akyrtzi@gmail.com</email>
</author>
<published>2011-10-04T04:48:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=1711fc91efb36d131f7ba771f73f0154dc1abd1f'/>
<id>urn:sha1:1711fc91efb36d131f7ba771f73f0154dc1abd1f</id>
<content type='text'>
-Add the location of the class name to all objc container decls, not just ObjCInterfaceDecl.
-Make objc decls consistent with the rest of the NamedDecls and have getLocation() point to the
 class name, not the location of '@'.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141061 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Flip the default for showing include stacks on notes to false. This</title>
<updated>2011-03-27T20:00:08Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2011-03-27T20:00:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=34b8e6889a12c90e8053fba8a1ea49b17c05ac51'/>
<id>urn:sha1:34b8e6889a12c90e8053fba8a1ea49b17c05ac51</id>
<content type='text'>
required modifying a few tests that specifically use note include stacks
to check the source manager's view of include stacks. I've simply added
the flag to these tests for now, they may have to be more substantially
changed if we decide to remove support for note include stacks
altogether.

Also, add a test for include stacks on notes that was supposed to go in
with the previous commit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128390 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix two thinkos and add a test for importing the AST of a category</title>
<updated>2010-12-08T16:41:55Z</updated>
<author>
<name>Douglas Gregor</name>
<email>dgregor@apple.com</email>
</author>
<published>2010-12-08T16:41:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=cad2c59b0c087edea83d0fbf6eabde4a7960c778'/>
<id>urn:sha1:cad2c59b0c087edea83d0fbf6eabde4a7960c778</id>
<content type='text'>
implementation.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121263 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Implement AST import for Objective-C property implementations</title>
<updated>2010-12-07T18:32:03Z</updated>
<author>
<name>Douglas Gregor</name>
<email>dgregor@apple.com</email>
</author>
<published>2010-12-07T18:32:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=954e0c75c42f321945aff8b9ee96da43cd90c752'/>
<id>urn:sha1:954e0c75c42f321945aff8b9ee96da43cd90c752</id>
<content type='text'>
(@synthesize and @dynamic).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121159 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Implement ASTImporter support for Objective-C category implementations.</title>
<updated>2010-12-07T15:32:12Z</updated>
<author>
<name>Douglas Gregor</name>
<email>dgregor@apple.com</email>
</author>
<published>2010-12-07T15:32:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=3daef29bf390dbdb3603748280afd5827d1811da'/>
<id>urn:sha1:3daef29bf390dbdb3603748280afd5827d1811da</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121139 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
