- Aug 28, 2009
-
-
Steve Naroff authored
Work in progress. llvm-svn: 80367
-
Steve Naroff authored
llvm-svn: 80359
-
Ted Kremenek authored
llvm-svn: 80306
-
- Aug 27, 2009
-
-
Steve Naroff authored
llvm-svn: 80279
-
Ted Kremenek authored
source symbol information (harvested by Clang) through a C API. llvm-svn: 80166
-
- Aug 26, 2009
-
-
Eli Friedman authored
on whether we're in GNUMode. Adjust the code appropriately. llvm-svn: 80132
-
- Aug 25, 2009
-
-
Dan Gohman authored
llvm-svn: 79991
-
- Aug 24, 2009
-
-
Chris Lattner authored
llvm-svn: 79889
-
Chris Lattner authored
llvm-svn: 79868
-
- Aug 23, 2009
-
-
Douglas Gregor authored
- Install clang-cc into libexec - Install headers into lib/clang/<version>/include - Don't install other clang-based tools (clang-wpa, clang-index, etc.) llvm-svn: 79827
-
Chris Lattner authored
llvm-svn: 79809
-
Anders Carlsson authored
llvm-svn: 79782
-
- Aug 20, 2009
-
-
Daniel Dunbar authored
llvm-svn: 79557
-
- Aug 11, 2009
-
-
Nate Begeman authored
Fixes PR4704 problems Addresses Eli's patch feedback re: ugly cast code Updates all postfix operators to remove ParenListExprs. While this is awful, no better solution (say, in the parser) is obvious to me. Better solutions welcome. llvm-svn: 78621
-
- Aug 10, 2009
-
-
Chris Lattner authored
1. Passing something that isn't a string used to cause: "argument to annotate attribute was not a string literal" make it say "section attribute" instead. 2. Fix the location of the above message to point to the bad argument instead of the section token. 3. Implement rdar://4341926, by diagnosing invalid section specifiers in the frontend rather than letting them slip all the way to the assembler (a QoI win). An example of #3 is that we used to produce something like this: /var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Expected comma after segment-name /var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Rest of line ignored. 1st junk character valued 46 (.). Daniel improved clang to use llvm_report_error, so now we got: $ clang t.c -c fatal error: error in backend: Global variable 'x' has an invalid section specifier 'sadf': mach-o section specifier requires a segment and section separated by a comma. with no loc info. Now we get: $ clang t.c -fsyntax-only t.c:4:30: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma int x __attribute__((section("sadf"))); ^ which is nice :) llvm-svn: 78586
-
Daniel Dunbar authored
For example, -- ddunbar@giles:Frontend$ clang -c backend-errors.c fatal error: error in backend: Global variable 'a' has an invalid section specifier 'I AM, not, legal': mach-o section specifier uses an unknown section type. -- compare to: -- ddunbar@giles:Frontend$ gcc -c backend-errors.c /var/folders/DQ/DQ8GT3++HESEzT1obWBynE+++TI/-Tmp-//cc45w2pq.s:2:Expected comma after segment-name /var/folders/DQ/DQ8GT3++HESEzT1obWBynE+++TI/-Tmp-//cc45w2pq.s:2:Rest of line ignored. 1st junk character valued 77 (M). -- Yay! I am not tied to my wording choice, we could also go with "uncoverable error" for the prefix, or just leave it off entirely. llvm-svn: 78554
-
Daniel Dunbar authored
--- Reverse-merging r78535 into '.': D test/Sema/altivec-init.c U include/clang/Basic/DiagnosticSemaKinds.td U include/clang/AST/Expr.h U include/clang/AST/StmtNodes.def U include/clang/Parse/Parser.h U include/clang/Parse/Action.h U tools/clang-cc/clang-cc.cpp U lib/Frontend/PrintParserCallbacks.cpp U lib/CodeGen/CGExprScalar.cpp U lib/Sema/SemaInit.cpp U lib/Sema/Sema.h U lib/Sema/SemaExpr.cpp U lib/Sema/SemaTemplateInstantiateExpr.cpp U lib/AST/StmtProfile.cpp U lib/AST/Expr.cpp U lib/AST/StmtPrinter.cpp U lib/Parse/ParseExpr.cpp U lib/Parse/ParseExprCXX.cpp llvm-svn: 78551
-
- Aug 09, 2009
-
-
Nate Begeman authored
In addition to being defined by the AltiVec PIM, this is also the vector initializer syntax used by OpenCL, so that vector literals are compatible with macro arguments. llvm-svn: 78535
-
- Aug 02, 2009
-
-
Benjamin Kramer authored
llvm-svn: 77891
-
- Aug 01, 2009
-
-
Mike Stump authored
llvm-svn: 77751
-
- Jul 30, 2009
-
-
Argyrios Kyrtzidis authored
-Accept an ObjC method and find all message expressions that this method may respond to. -Accept an ObjC message expression and find all methods that may respond to it. llvm-svn: 77551
-
Argyrios Kyrtzidis authored
llvm-svn: 77547
-
Argyrios Kyrtzidis authored
llvm-svn: 77542
-
Argyrios Kyrtzidis authored
references of a declaration across translation units. -Modify the index-test tool to use it. llvm-svn: 77536
-
Argyrios Kyrtzidis authored
llvm-svn: 77530
-
Argyrios Kyrtzidis authored
necessary. llvm-svn: 77529
-
Argyrios Kyrtzidis authored
of the iterator of the Indexer class. llvm-svn: 77528
-
Argyrios Kyrtzidis authored
-Introduce Indexer as an IndexProvider implementation. llvm-svn: 77524
-
- Jul 29, 2009
-
-
Daniel Dunbar authored
do a significant amount of work in its destructor, which may access the context. (PR4642). llvm-svn: 77423
-
- Jul 23, 2009
-
-
Zhongxing Xu authored
- Root is the main function or 0. - ExternalCallingNode has edges to all external functions. llvm-svn: 76876
-
- Jul 21, 2009
-
-
Argyrios Kyrtzidis authored
Entity can now refer to declarations that are not visible outside the translation unit. It is a wrapper of a pointer union, it's either a Decl* for declarations that don't "cross" translation units, or an EntityImpl* which is associated with the specific "visible" Decl. Included is a test case for handling fields across translation units. llvm-svn: 76515
-
Argyrios Kyrtzidis authored
llvm-svn: 76506
-
- Jul 18, 2009
-
-
Argyrios Kyrtzidis authored
Introduce ASTLocation::getReferencedDecl(), for getting the declaration that the ASTLocation references. llvm-svn: 76336
-
Argyrios Kyrtzidis authored
Introduce a redecl_iterator in Decl class, so that we can do a "iterate over all declarations of the same decl" without knowing the exact type. llvm-svn: 76298
-
- Jul 17, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76200
-
- Jul 16, 2009
-
-
Daniel Dunbar authored
- This silences the output about how command line arguments are being changed. llvm-svn: 76107
-
Ted Kremenek authored
llvm-svn: 76091
-
Daniel Dunbar authored
llvm-svn: 75887
-
Zhongxing Xu authored
llvm-svn: 75878
-
Zhongxing Xu authored
llvm-svn: 75877
-