- Mar 19, 2009
-
-
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
-
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
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
-
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
-
Daniel Dunbar authored
programs. llvm-svn: 67229
-
Gabor Greif authored
llvm-svn: 67226
-
Mike Stump authored
llvm-svn: 67225
-
Daniel Dunbar authored
readnone/readonly attributes. llvm-svn: 67224
-
Daniel Dunbar authored
- This is still suboptimal, but should at least be workable. llvm-svn: 67223
-
Mike Stump authored
llvm-svn: 67220
-
Chris Lattner authored
llvm-svn: 67219
-
Chris Lattner authored
There are some more complex cases (_Complex and structs) that I'm still working on. llvm-svn: 67218
-
Daniel Dunbar authored
(brings code in line with diagnostic. llvm-svn: 67217
-
Gabor Greif authored
llvm-svn: 67216
-
Mike Stump authored
llvm-svn: 67214
-
Mike Stump authored
llvm-svn: 67207
-
Mike Stump authored
llvm-svn: 67206
-
Mike Stump authored
llvm-svn: 67205
-
Mike Stump authored
llvm-svn: 67204
-
Daniel Dunbar authored
llvm-svn: 67193
-
Daniel Dunbar authored
llvm-svn: 67192
-
Daniel Dunbar authored
- Support things like telling which -ffoo -fno-foo option won, and forwarding all arguments matching a certain set of options to the tool. llvm-svn: 67189
-
Daniel Dunbar authored
argument translation. Also, stub out clang tool implementation a bit more. llvm-svn: 67185
-
Daniel Dunbar authored
(e.g., -filelist) are currently broken. llvm-svn: 67183
-
Daniel Dunbar authored
llvm-svn: 67182
-