Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
84504f21
Commit
84504f21
authored
18 years ago
by
Reid Spencer
Browse files
Options
Downloads
Patches
Plain Diff
Properly document the second form of ConstArray::get()
llvm-svn: 28553
parent
6f61453f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/include/llvm/Constants.h
+7
-0
7 additions, 0 deletions
llvm/include/llvm/Constants.h
with
7 additions
and
0 deletions
llvm/include/llvm/Constants.h
+
7
−
0
View file @
84504f21
...
...
@@ -345,6 +345,13 @@ protected:
public:
/// get() - Static factory methods - Return objects of the specified value
static
Constant
*
get
(
const
ArrayType
*
T
,
const
std
::
vector
<
Constant
*>
&
);
/// This method constructs a ConstantArray and initializes it with a text
/// string. The default behavior (len==0) causes the null terminator to
/// be copied as well. However, in some situations this is not desired so
/// if len <= Initializer.length() (but not 0) then only that portion of
/// the string is copied and there is no null termination. If len >
/// than Initializer's length then the function asserts out (don't do that).
static
Constant
*
get
(
const
std
::
string
&
Initializer
,
unsigned
len
=
0
);
/// getType - Specialize the getType() method to always return an ArrayType,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment