- Mar 19, 2009
-
-
Daniel Dunbar authored
- PR3818. llvm-svn: 67297
-
Daniel Dunbar authored
llvm-svn: 67296
-
Daniel Dunbar authored
llvm-svn: 67295
-
Daniel Dunbar authored
diagnostic (to suppress more generic unused warning). llvm-svn: 67294
-
Daniel Dunbar authored
are forwarded to GCC. - The later is unfortunate, as it prevents us from generally warning about anything interesting on platforms that use a generic toolchain. However, we can't do much better without significantly complicating things, and generally we should have proper tool chain definitions. llvm-svn: 67293
-
Daniel Dunbar authored
- Make InputInfo a variant of filename, pipe, input argument, nothing. - Leave a FIXME in InputInfo that this should be revisited. llvm-svn: 67292
-
Daniel Dunbar authored
was hoping to clean up in the rewrite, but I don't see it yet. llvm-svn: 67291
-
Chris Lattner authored
llvm-svn: 67290
-
Chris Lattner authored
llvm-svn: 67289
-
Chris Lattner authored
llvm-svn: 67285
-
Douglas Gregor authored
struct N::M::foo llvm-svn: 67284
-
Douglas Gregor authored
QualifiedNameType and QualifiedDeclRefExpr. We now keep track of the exact nested-name-specifier spelling for a QualifiedDeclRefExpr, and use that spelling when printing ASTs. This fixes PR3493. llvm-svn: 67283
-
Ted Kremenek authored
llvm-svn: 67279
-
Ted Kremenek authored
llvm-svn: 67269
-
Douglas Gregor authored
specialization names. This way, we keep track of sugared types like std::vector<Real> I believe we are now using QualifiedNameTypes everywhere we can. Next step: QualifiedDeclRefExprs. llvm-svn: 67268
-
Devang Patel authored
llvm-svn: 67267
-
Ted Kremenek authored
llvm-svn: 67266
-
Douglas Gregor authored
qualified name, e.g., foo::x so that we retain the nested-name-specifier as written in the source code and can reproduce that qualified name when printing the types back (e.g., in diagnostics). This is PR3493, which won't be complete until finished the other tasks mentioned near the end of this commit. The parser's representation of nested-name-specifiers, CXXScopeSpec, is now a bit fatter, because it needs to contain the scopes that precede each '::' and keep track of whether the global scoping operator '::' was at the beginning. For example, we need to keep track of the leading '::', 'foo', and 'bar' in ::foo::bar::x The Action's CXXScopeTy * is no longer a DeclContext *. It's now the opaque version of the new NestedNameSpecifier, which contains a single component of a nested-name-specifier (either a DeclContext * or a Type *, bitmangled). The new sugar type QualifiedNameType composes a sequence of NestedNameSpecifiers with a representation of the type we're actually referring to. At present, we only build QualifiedNameType nodes within Sema::getTypeName. This will be extended to other type-constructing actions (e.g., ActOnClassTemplateId). Also on the way: QualifiedDeclRefExprs will also store a sequence of NestedNameSpecifiers, so that we can print out the property nested-name-specifier. I expect to also use this for handling dependent names like Fibonacci<I - 1>::value. llvm-svn: 67265
-
Ted Kremenek authored
llvm-svn: 67260
-
Gabor Greif authored
Use the instantiated expressions to build the ConditionalOperator. This addresses the second part of review feedback. llvm-svn: 67259
-
Gabor Greif authored
that does a downcast. It is named takeAs<T>(). The plain-pointer version is also added, but that side seems to be seriously bitrotten. llvm-svn: 67258
-
Daniel Dunbar authored
case. llvm-svn: 67257
-
Daniel Dunbar authored
PCH support). llvm-svn: 67256
-
Daniel Dunbar authored
driver is functional without them. llvm-svn: 67254
-
Daniel Dunbar authored
sometimes leaves around. llvm-svn: 67253
-
- Mar 18, 2009
-
-
Mike Stump authored
llvm-svn: 67252
-
Daniel Dunbar authored
- Hopefully Chris can pardon one executable test. llvm-svn: 67251
-
Daniel Dunbar authored
llvm-svn: 67250
-
Fariborz Jahanian authored
whose sema decl is at the translation unit. llvm-svn: 67249
-
Daniel Dunbar authored
llvm-svn: 67248
-
rdar://problem/6695527Ted Kremenek authored
SVal::GetRValueSymbolVal do the checking if we can symbolicate a type instead of having BasicStoreManager do it (which wasn't always doing the check consistently). Having this check in SVal::GetRValueSymbolVal keeps the check in one centralized place. llvm-svn: 67245
-
Daniel Dunbar authored
if our usual methods fail. This isn't necessary for running the tool, but improves the accuracy of logging output. Also, have GCC tools lookup gcc program path. llvm-svn: 67243
-
Mike Stump authored
llvm-svn: 67241
-
Daniel Dunbar authored
llvm-svn: 67240
-
Ted Kremenek authored
llvm-svn: 67238
-
Chris Lattner authored
'' ' ' llvm-svn: 67237
-
Chris Lattner authored
and the token after the # should be expanded if it is not a valid directive. This allows us to transform things like: #define FOO BAR # FOO into # BAR, even though FOO is not normally expanded for directives. This should fix PR3833 llvm-svn: 67236
-
Chris Lattner authored
llvm-svn: 67235
-
Chris Lattner authored
# 4 llvm-svn: 67233
-
Chris Lattner authored
#define Y X ## . Y are ok in .S files. llvm-svn: 67231
-