diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-02-18 06:01:06 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-02-18 06:01:06 +0000 |
| commit | 6436fb6acb0120baee7f28a266920e66159e3be1 (patch) | |
| tree | e7b96f3802a4cea56cdb25c327f7838d987c5462 /clang/include | |
| parent | d3b5d5d1df17ba21efd4cb82fc3aa78783a702dd (diff) | |
| download | bcm5719-llvm-6436fb6acb0120baee7f28a266920e66159e3be1.tar.gz bcm5719-llvm-6436fb6acb0120baee7f28a266920e66159e3be1.zip | |
rename CheckBuiltinCFStringArgument -> CheckObjCString
llvm-svn: 64894
Diffstat (limited to 'clang/include')
| -rw-r--r-- | clang/include/clang/AST/Expr.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h index 8bd0c9d7590..8130f4f6310 100644 --- a/clang/include/clang/AST/Expr.h +++ b/clang/include/clang/AST/Expr.h @@ -476,12 +476,14 @@ public: /// is NOT null-terminated, and the length of the string is determined by /// calling getByteLength(). The C type for a string is always a /// ConstantArrayType. +/// +/// Note that strings in C can be formed by concatenation of multiple string +/// literal pptokens in trnaslation phase #6. This keeps track of the locations +/// of each of these pieces. class StringLiteral : public Expr { const char *StrData; unsigned ByteLength; bool IsWide; - // If the StringLiteral was composed using token pasting, both locations - // are needed. If not (the common case), firstTokLoc == lastTokLoc. unsigned NumConcatenated; SourceLocation TokLocs[1]; public: |

