- Nov 24, 2010
-
-
Anders Carlsson authored
llvm-svn: 120131
-
Anders Carlsson authored
llvm-svn: 120130
-
Anders Carlsson authored
llvm-svn: 120129
-
Anders Carlsson authored
llvm-svn: 120118
-
Anders Carlsson authored
Fix a (probably very old) regression where we weren't using the typedef name for anonymous tag types. llvm-svn: 120113
-
Anders Carlsson authored
llvm-svn: 120112
-
Anders Carlsson authored
llvm-svn: 120110
-
Anders Carlsson authored
llvm-svn: 120109
-
Anders Carlsson authored
llvm-svn: 120108
-
Anders Carlsson authored
Make CodeGenTypes::getCGRecordLayout compute the layout lazily if it doesn't exist. This matches ASTContext::getASTRecordLayout and is less confusing. llvm-svn: 120107
-
Anders Carlsson authored
llvm-svn: 120106
-
Zhongxing Xu authored
to be consistent with the type of 'this' expr in the method. 此行及以下内容将会被忽略-- M test/Analysis/method-call.cpp M include/clang/Checker/PathSensitive/GRExprEngine.h M lib/Checker/GRCXXExprEngine.cpp llvm-svn: 120094
-
Zhongxing Xu authored
This is required for supporting const reference to temporary objects. llvm-svn: 120093
-
John McCall authored
names. llvm-svn: 120091
-
John McCall authored
llvm-svn: 120089
-
John McCall authored
of the ASTs. Only available in assertions builds. No stability guarantee. This is intended solely as a debugging tool. I'm not sure if the goals are sufficiently aligned with the XML printer to allow a common implementation. Currently just falls back on the StmtDumper to display statements, which means it doesn't produce valid XML in those cases. llvm-svn: 120088
-
Zhongxing Xu authored
to remake the stackframe everytime in GRExprEngine::ProcessCallEnter(). llvm-svn: 120087
-
Zhongxing Xu authored
llvm-svn: 120086
-
John McCall authored
llvm-svn: 120084
-
Zhanyong Wan authored
Refactor AddStmtChoice to make it easier to use; also add comments on how the class works. Reviewed by kremenek. llvm-svn: 120080
-
Francois Pichet authored
- FileEntry::operator= is needed on Win32. - There was an error in the S_ISDIR() macro. llvm-svn: 120079
-
Zhanyong Wan authored
llvm-svn: 120073
-
Ted Kremenek authored
ImmutableSet/ImmtuableMap/ImmutableList APIs. Along the way, clean up some method names in the static analyzer so that they are more descriptive and/or start with lowercase letters. llvm-svn: 120071
-
- Nov 23, 2010
-
-
Chris Lattner authored
followed by an open for every source file we open, probe the file system with 'open' and then do an fstat when it succeeds. open+fstat is faster than stat+open because the kernel only has to perform the string->inode mapping once. Presumably it gets faster the deeper in your filesystem a lookup happens. For -Eonly on cocoa.h, this reduces system time from 0.042s to 0.039s on my machine, a 7.7% speedup. llvm-svn: 120066
-
John McCall authored
Not sure what I was thinking before. Fixes PR8668. llvm-svn: 120063
-
Chris Lattner authored
leak a filedescriptor if a client ever starts returning one. llvm-svn: 120062
-
Chris Lattner authored
llvm-svn: 120061
-
Chris Lattner authored
pointer that is passed down through the APIs, and make FileSystemStatCache::get be the one that filters out directory lookups that hit files. This also paves the way to have stat queries be able to return opened files. llvm-svn: 120060
-
Chris Lattner authored
which simplifies clients and is important for future directions. Add a FD member to FileEntry which isn't used but will be shortly. llvm-svn: 120056
-
John McCall authored
- Default argument expressions pick up the value kind of the incoming expression, not the value kind of the parameter it initializes. - When building a template argument for substitution, A::x is an rvalue if x is an instance method. - Anonymous struct/union paths pick up value kind the same way that normal member accesses do; extract out a common code path for this. Enable the value-kind assertion, now that it passes self-host. llvm-svn: 120055
-
Peter Collingbourne authored
llvm-svn: 120053
-
Chris Lattner authored
llvm-svn: 120048
-
Chris Lattner authored
llvm-svn: 120039
-
Chris Lattner authored
llvm-svn: 120038
-
Chris Lattner authored
method in FileSystemStatCache. llvm-svn: 120037
-
Chris Lattner authored
MemoryBuffer::getFile, causing us to pick up a fstat for every file. Restore the optimization. llvm-svn: 120032
-
Chris Lattner authored
the result code of the stat to/from the PCH file since it is always 0. llvm-svn: 120031
-
Chris Lattner authored
its own header and giving it some more structure. No functionality change. llvm-svn: 120030
-
Chris Lattner authored
two copies, since they are fundamentally different operations and the StringRef one should go away (it shouldn't be part of FileManager at least). Remove some dead arguments. llvm-svn: 120013
-
Chris Lattner authored
client should just pass in absolute paths. llvm-svn: 120012
-